Revit Macro Is Greyed Out

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am using Revit 2021 but I am failing to create any Macros.
All my macro settings are Enabled.
Revit allows me to create a Module but once Module is created it doesn't allow Macros to be selected or created, the button is greyed out.
I get a sign next to the module name (As soon as it is created) and when I check the help page, it means:
"Loading the macro failed. Rebuilding the module may resolve this issue." At that point I didn't even write a single code but I try to rebuilt but it made no difference.
I tried to delete the Macros folder under C:\ProgramData\Autodesk\Revit directory and restarted my computer and Revit multiple times but it didn't work.
Can you please help me on how to create a macro under a module on Revit 2021?
Thanks in advance.