Click the Macros tab of the Options dialog to set options for the macros. For more information, see Macro Security.
Option | Description |
---|---|
Application Macro Security Settings | |
Enable application macros | Turns on application macros. Only run macros from trustworthy sources. |
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. |
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. This option is the default. |
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. |
Enable document macros. | Turns on document macros. Only run macros from trustworthy sources. |