CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 6257 

CAD tip CAD tip # 4820:

Question CAD 
 %  platform  category 
Q - question

How to get/set AutoCAD Mechanical scale in a program or script?

A - answer To get or set the modelspace scale variable in AutoCAD Mechanical (as in the AMTITLE or AMCONFIG commands) from your user program (application, routine) or menu script, you can use the following LISP functions:
(gengetdwgsetting "scale")  
(gensetdwgsetting "scale" "1:10")  
(amggetdwgsetting "scale")
(amgsetdwgsetting "scale" "1:3")
100% *  CAD 
9.1.2006    8692×  
Comments   Tell a friend
applies to: AutoCAD Mechanical · MDT ·

See also:
Tip 11650:How to add AutoCAD toolbars to AutoCAD Mechanical menus?
Tip 11189:Mass rename of spaces (Revit MEP) from rooms in an underlaid architecture model.
Tip 10936:Using assemblies in Inventor LT.
Tip 10154:Error "You do not appear to have any language database files installed." in Simulation Mechanical Fatigue Wizard.
Tip 10068:Surface texture symbol with predefined texts and symbols.

Back   All CAD Tips All CAD tips&tricks

Network license - Error [1200.5.-96] « | » Where from comes the "NotInProject" folder in Pack-and-Go?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Export 3D VRML scenes from AutoCAD and Inventor 2015
VRMLout More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.