SAFEMODE (System Variable)


Indicates whether executable code can be loaded and executed in the current AutoCAD session.

Type: Integer
Saved in: Not-saved
Initial value: 0

This system variable is controlled by the /safemode startup switch, which should be used only in emergency situations for disabling malicious code.


Allows executable code to be executed


Prevents executable code from being executed

NoteDisabling executable code will prevent Express Tools and some AutoCAD command tools from running. It will also prevent copying and pasting AutoLISP code into the Command window.