Document Units Precision

Phenom
Phenom

Hi,

 

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 ?

Thanks.

 

Tushar Suradkar