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

CAD tip CAD tip # 5362:

Question CAD 
 %  platform  category 
Q - question

How to switch current AutoCAD profile programmatically?

A - answer To switch to a different AutoCAD profile from a macro, script or a user application, you can use the command:
ThisDrawing.Application.Preferences.Profiles.ActiveProfile = "PROFILENAME"
Alternatively you can use a VisualLISP function:
(defun SetProfile (profilename)
You may also make use of the Workspace functionality.
100% *  CAD 
15.1.2007    11591×  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 11145:AutoCAD: Customization file load failed.
Tip 10748:Where is stored the list of variables for SYSVARMONITOR?
Tip 9889:How to turn off Design Check Symbols in Superelevation View?
Tip 9711:3DConstruct - converting a 3D mesh to a frame construct
Tip 9509:Hardware acceleration setting not saved, defaults to OFF.

Back   All CAD Tips All CAD tips&tricks

My button tooltips have disappeared. « | » How to create an axis of two lines?

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   

DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.

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.