Input constant value that specifies the unit type.
Remarks
For example if you input k kInchLengthUnits it will return the string "in." If one of the default unit types is specified, (kDefaultDisplayLengthUnits, kDefaultDisplayAngleUnits, kDefaultDisplayMassUnits, kDefaultDisplayTimeUnits, or kDefaultDisplayTemperatureUnits) this will return the string corresponding to the document default for that unit type. This method is currently not supported when the UnitsOfMeasure object was obtained using Apprentice.
This example creates a custom iProperty if it doesn't exist and updates the value if it does already exist. A part document must be open before runnin the sample.