🗊Презентация Object properties. (Lab 5)

Нажмите для полного просмотра!
/ 15

Вы можете ознакомиться и скачать презентацию на тему Object properties. (Lab 5). Доклад-сообщение содержит 15 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1





Lab 5 – Properties  
Lab 5 – Properties
Описание слайда:
Lab 5 – Properties Lab 5 – Properties

Слайд 2





Agenda
Object Properties
Find Properties
Описание слайда:
Agenda Object Properties Find Properties

Слайд 3





Object Properties
Описание слайда:
Object Properties

Слайд 4





.NET API
ModelItem.PropertyCategories
PropertyCategoryCollection
PropertyCategory
PropertyCategory.Properties
DataPropertyCollection 
DataProperty
Current .NET API cannot modify/add custom properties. Need COM API
Описание слайда:
.NET API ModelItem.PropertyCategories PropertyCategoryCollection PropertyCategory PropertyCategory.Properties DataPropertyCollection DataProperty Current .NET API cannot modify/add custom properties. Need COM API

Слайд 5





Properties Name 

Meaningful name
Independent of languages 
Pre-define strings, easy to use  
Internal name
Independent of languages 
Named from the class definition of API
Display name
What the end users can see in
Localization
Описание слайда:
Properties Name Meaningful name Independent of languages Pre-define strings, easy to use Internal name Independent of languages Named from the class definition of API Display name What the end users can see in Localization

Слайд 6





NamedConstant & VariantData

NamedConstant
Identifier for a value combining the internal constant's name and a localized display name equivalent
VariantData
A value type that can store data of one of several different types 
DataProperty.Value
Check type before print out the value
Описание слайда:
NamedConstant & VariantData NamedConstant Identifier for a value combining the internal constant's name and a localized display name equivalent VariantData A value type that can store data of one of several different types DataProperty.Value Check type before print out the value

Слайд 7





 Iterate Properties  Demo
Описание слайда:
Iterate Properties Demo

Слайд 8





Get Property by Method
PropertyCategoryCollection
Various methods to get property category and property, e.g.
FindCategoryByDisplayName 
find property category by display name only
FindCategoryByName 
find property category by internal name only
FindPropertyByDisplayName 
find property by display name only
FindPropertyByName 
find property by internal name only
Описание слайда:
Get Property by Method PropertyCategoryCollection Various methods to get property category and property, e.g. FindCategoryByDisplayName find property category by display name only FindCategoryByName find property category by internal name only FindPropertyByDisplayName find property by display name only FindPropertyByName find property by internal name only

Слайд 9





Demo: Get Categories by Display Name
Описание слайда:
Demo: Get Categories by Display Name

Слайд 10





Demo: Get Categories by Methods
Описание слайда:
Demo: Get Categories by Methods

Слайд 11





 Demo: Get Properties by Methods
Описание слайда:
Demo: Get Properties by Methods

Слайд 12





Add Custom Properties 
See Lab 09  [COM Interop]
Описание слайда:
Add Custom Properties See Lab 09 [COM Interop]

Слайд 13





Unique Identifier of Object
ModelItem.InstanceGuid
Same to Item>>Guid in UI
Available for some file formats only (Revit, AutoCAD) 
Properties from source CAD file
Some format provides a kind of ID that could be an identifier such as AutoCAD Handle, Guid of Microstation. 
Revit file
Recommend with Elements Properties>>UniqueId.
Описание слайда:
Unique Identifier of Object ModelItem.InstanceGuid Same to Item>>Guid in UI Available for some file formats only (Revit, AutoCAD) Properties from source CAD file Some format provides a kind of ID that could be an identifier such as AutoCAD Handle, Guid of Microstation. Revit file Recommend with Elements Properties>>UniqueId.

Слайд 14





Exercise
Create a plugin
Check the language of Navisworks.
Use the display name of local language  to find some properties
Описание слайда:
Exercise Create a plugin Check the language of Navisworks. Use the display name of local language to find some properties

Слайд 15


Object properties. (Lab 5), слайд №15
Описание слайда:



Похожие презентации
Mypresentation.ru
Загрузить презентацию