Over 1.104.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
CAD tip # 5362:
Question
A
To switch to a different AutoCAD profile from a macro, script or a user application, you can use the command:
_VBASTMT ThisDrawing.Application.Preferences.Profiles.ActiveProfile = "PROFILENAME"Alternatively you can use a VisualLISP function:
(defun SetProfile (profilename)
(vl-load-com)
(vla-put-ActiveProfile
(vla-get-Profiles
(vla-get-Preferences
(vlax-get-acad-object)
)
)
profilename
)
)
You may also make use of the Workspace functionality.
ACAD
15.1.2007
14101×
this tip shared by ARKANCE experts applies to: AutoCAD ·
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

