API Reference > OdDg Classes > OdDgDimStyleTableRecord Class > OdDgDimStyleTableRecord Methods > OdDgDimStyleTableRecord::setAngleAccuracy Method
OdDgDimStyleTableRecord::setAngleAccuracy Method
Syntax
C++
virtual void setAngleAccuracy(const OdDgDimTextFormat::Accuracy iAccur);

To set accuracy value for angular dimension you must convert them to angle format and set primary accuracy value for dimension element. To convert accuracy to angle format you must change value by rule:

---------------------------------------------------------------------

Accuracy Angle Accuracy

---------------------------------------------------------------------

OdDgDimTextFormat::kAccuracyNone = OdDgDimTextFormat::kAccuracyNone (0) OdDgDimTextFormat::kDecimal1 = 1 OdDgDimTextFormat::kDecimal2 = 2 OdDgDimTextFormat::kDecimal3 = 3 OdDgDimTextFormat::kDecimal4 = 4 OdDgDimTextFormat::kDecimal5 = 5 OdDgDimTextFormat::kDecimal6 = 6

---------------------------------------------------------------------

To set angle accuracy for dimension style use this function and accuracy value ( don't change format )

Copyright © 2002–2021. Open Design Alliance. All rights reserved.