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

CAD tip CAD tip # 1481:

Question CAD 
 %  platform  category 
Q - question

How to switch user profile in a macro?

A - answer To switch profile in the middle of AutoCAD session using an icon or user application, use the following VBA command:
ThisDrawing.Application.Preferences.Profiles.ActiveProfile = "test"
(where test is the profile name)
100% *  CAD 
17.7.2001    4218x  
Comments   Tell a friend
applies to: AutoCAD ·

Back   All CAD Tips All CAD tips&tricks

How to uninstall AutoCAD? « | » What is the BCL file for?

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   

Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools 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.