Use an Unit on a MetaProperty
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 MetaProperty
- Assign a Unit Item to the UNITITEM attribute either by
- dragging and dropping a Unit Item object onto the cell
- selecting the desired Unit Item from the dialog appearing after double-clicking the cell
- Save the changes with Ctrl+S or the save command