CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

CAD tip CAD tip # 4820:

Question

CAD 
 %  platform  category 
A
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")  
or
(amggetdwgsetting "scale")
(amgsetdwgsetting "scale" "1:3")
ACADMMDT
100% *CAD
9.1.2006   10959×  
   
this tip shared by ARKANCE experts applies to: AutoCAD Mechanical · MDT ·

See also:
Tip 15040:Autodesk Flex Token Calculator - "Pay-as-you-go" pricing for licenses and services.
Tip 14935:"Mechanical" osnap modes in AutoCAD Mechanical.
Tip 14824:How to speed up AutoCAD drawings with raster images?
Tip 14583:How do I get rid of dimension text confirmation in AutoCAD Mechanical?
Tip 14396:FATAL ERROR: Unhandled Access Violation Reading 0x4aa6a000 Exception at 2586DABBh


Back    All CAD Tips



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
  





Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist