Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and 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
13910×
applies to: AutoCAD ·