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

How to get the current drawings scale

3 REPLIES 3
Reply
Message 1 of 4
naresh
1613 Views, 3 Replies

How to get the current drawings scale

I am trying to get scale factor of whole drwaing using c# code.I am able to get only single entities scale factor. So does any body have solution for this?
Thanks in advance
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: naresh

Do you mean the sysvar "DIMSCALE" as the drawing scale factor?
You could use:

double dDimScale =
(double)Autodesk.AutoCAD.ApplicationServices.Application.GetSystemVariable("DIMSCALE");


schreef in bericht news:5405712@discussion.autodesk.com...
I am trying to get scale factor of whole drwaing using c# code.I am able to
get only single entities scale factor. So does any body have solution for
this?
Thanks in advance
Message 3 of 4
Anonymous
in reply to: naresh

Database.Ltscale

Is that what you want?

"Henk Loonstra" wrote in message
news:5405715@discussion.autodesk.com...
Do you mean the sysvar "DIMSCALE" as the drawing scale factor?
You could use:

double dDimScale =
(double)Autodesk.AutoCAD.ApplicationServices.Application.GetSystemVariable("DIMSCALE");


schreef in bericht news:5405712@discussion.autodesk.com...
I am trying to get scale factor of whole drwaing using c# code.I am able to
get only single entities scale factor. So does any body have solution for
this?
Thanks in advance
Message 4 of 4
naresh
in reply to: naresh

Yaa thank you got the way

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost