Difference between revisions of "HowTo:Use an Unit on a MetaProperty"
Line 1: | Line 1: | ||
− | If an object's property should consider also a [[Unit]] (for example Ampere, Volt, etc.) the underlying [[MetaProperty]] has to incorporate a [[Unit Item]]. | + | If an object's property should consider also a [[Unit]] (for example Ampere, Volt, etc.) the underlying [[MetaProperty]] has to incorporate a [[UNITITEM|Unit Item]]. |
# Navigate to the [[MetaClass]] [[CUSTOMMETAPROPERTY]] in the ''[[Class Browser]]''<br/>[[File:UI_Unit_01.PNG|330 px|border|alt=Unit|Unit]] | # Navigate to the [[MetaClass]] [[CUSTOMMETAPROPERTY]] in the ''[[Class Browser]]''<br/>[[File:UI_Unit_01.PNG|330 px|border|alt=Unit|Unit]] |
Revision as of 13:53, 9 December 2013
If an object's property should consider also a Unit (for example Ampere, Volt, etc.) the underlying MetaProperty has to incorporate a Unit Item.
- Navigate to the MetaClass CUSTOMMETAPROPERTY in the Class Browser
- Locate an existing or create a new Custom metaproperty using the Bulk Editor
- It is required to assign a UnitItem to the UNITITEM attribute either by
- dragging and dropping a Unit object onto the cell
- selecting the desired Unit from the dialog appearing after double-clicking the cell
- It is recommended to set at least name and description
- Save the changes with Ctrl+S or the save command