.NET

Reply
Active Contributor
naresh
Posts: 42
Registered: ‎05-20-2005
Message 1 of 4 (414 Views)

How to get the current drawings scale

414 Views, 3 Replies
11-24-2006 01:54 AM
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
*Henk Loonstra
Message 2 of 4 (414 Views)

Re: How to get the current drawings scale

11-24-2006 02:06 AM 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
*Matt
Message 3 of 4 (414 Views)

Re: How to get the current drawings scale

11-24-2006 02:46 AM 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
Active Contributor
naresh
Posts: 42
Registered: ‎05-20-2005
Message 4 of 4 (414 Views)

Re: How to get the current drawings scale

12-15-2006 10:13 PM in reply to: naresh
Yaa thank you got the way
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.