Jump to: navigation, search

Use an Unit on a MetaProperty


Revision as of 13:53, 9 December 2013 by KNO (Talk | contribs)

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