.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting precision for dimensions

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
473 Views, 3 Replies

Setting precision for dimensions

Hi All,

 

I am actually programatically finding the arcs in the crawing and inserting the arc length as dimension. I am  able to insert, but not able to se tthe precision. I have a dimension style which is set for two decimal points. But still my arc length shows 8 digits after the decimal point.

 

Actual length to be shown is 179.65

Length shown in the drawing 179.65874631

 

How can i set the precision to 2 digits after decimal point ?

3 REPLIES 3
Message 2 of 4
tmccar
in reply to: Anonymous

Set DIMDEC to 2

Message 3 of 4
Anonymous
in reply to: tmccar

Hi tmccar,

 

Is this a System Variable? how can set that in AutoCAD environment(Not used to AutoCAD, more of Inventor & Vault).

Message 4 of 4
SENL1362
in reply to: Anonymous

Database variable:
db.Dimdec = 2;

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report