Community
Hi All,
I am getting a Error with this code:
Autodesk.AutoCAD.ApplicationServices.Application.SetSystemVariable("DIMSCALE", 12.0);
I am getting a "eInvalidInput" error.
Jim
Not sure why you would get eInvalidInput on that, but I would just set the property on the Database object.
Get a reference to the database and use database.DimScale = 12
Ahh... Didn't think of that. It must be because of where you are calling it from, such as from code running in a Form, or from a command in the Session context.
Can't find what you're looking for? Ask the community or share your knowledge.