2 Replies Latest reply on Dec 7, 2016 3:15 PM by Elmar Klammer

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

    Derek Eldridge

      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?