Showing results for 
Search instead for 
Did you mean: 

Document Units Precision

Gears Honored Contributor Gears Honored Contributor
Gears Honored Contributor



Whereas the following works and changes the unit to 'ft-in':


objDoc.UnitsOfMeasure.Item(UnitTypeConstants.igUnitDistance).Units = SolidEdgeConstants.UnitOfMeasureLengthReadoutConstants.seLengthFootInch

the follownig line of code does not change the precision field in the Document Properties - Units tab - Precision setting to 1/16 th:


objDoc.UnitsOfMeasure.Item(UnitTypeConstants.igUnitDistance).Precision = SolidEdgeConstants.PrecisionConstants.igPrecisionSixteenths


Any clues on what might be wrong with this or how to get this working ?



Tushar Suradkar