AnsweredAssumed Answered

$PRP:"sw-UnitSystem" or $PRP:"sw-UnitLinear" ???

Question asked by Derek Eldridge on Nov 8, 2016
Latest reply on Dec 7, 2016 by Elmar Klammer

There has to be a way that I can pull in the Drawing Units being used. Specifically the Length Units. or dual dimension units.

My company uses both Inch and Millimeter dimensions. I have a universal tolerance block that covers both. But I need a field that updates to which system has been selected on the drawing.

 

"UNLESS OTHERWISE SPECIFIED; ALL DIMENSIONS IN INCHES OR MM"

 

Units are a document specific property, and you can access them in macros.

swUserPreferenceIntegerValue_e.swUnitSystem

swUserPreferenceIntegerValue_e.swUnitsLinear

But how can I access the property as a text field in my title block?

Outcomes