HÃ¥vard Dagsvik of Symetri implemented code to automatically generate a dictionary mapping the Revit DisplayUnitType
to corresponding UnitSymbolType
display strings. The developer guide describes these classes like this
– UnitType – type of physical quantity to be measured, for example length or force (UT_Length or UT_Force)
– DisplayUnitType – units and display format used to format numbers as strings or convert units (i.e. DUT_METERS)
– UnitSymbolType – unit symbol displayed in the formatted string representation of a number to indicate the units of the value (i.e. UST_M)...
Read more →