Options Dialog: Macros Tab

Define default security settings for macros that you create to automate repetitive tasks.

Option Description
Application Macro Security Settings
Enable application macros Turns on application macros. Only run macros from trustworthy sources. When enabling macros, you will be prompted to verify you want to enable this setting.
Disable application macros Turns off application macros. You will still be able to see, edit, and build the code, but modifications will not change the current module status. This option is the default.
Document Macro Security Settings
Ask before enabling document macros Turns off macros, but you are prompted to enable them, if macros are present when a Revit project is opened. You can then choose to enable macros whenever they are detected.
Disable document macros Turns off document-level macros when a project is opened. You will still be able to see, edit, and build the code, but modifications will not change the current module status. This option is the default.
Enable document macros. Turns on document macros. Only run macros from trustworthy sources. When enabling macros, you will be prompted to verify you want to enable this setting.