Jump to: navigation, search

Difference between revisions of "HowTo:Use an Unit on a MetaProperty"


Line 1: Line 1:
If an object's property should consider also [[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 [[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:52, 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.

  1. Navigate to the MetaClass CUSTOMMETAPROPERTY in the Class Browser
    Unit
  2. Locate an existing or create a new Custom metaproperty using the Bulk Editor
    Unit
  3. 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
  4. It is recommended to set at least name and description
  5. Save the changes with Ctrl+S or the save command

See also