Revit Macro Programming in C# and Python. Create your own Revit add-in or macros.

[Solved] Revit can’t create a new module in the macro manager

This morning, I ran into an interesting bug in Revit 2016. I opened up my Macro Manager per the norm, but when attempting to create a new module Revit wouldn’t save the new module. It successfully opened the dialog box to let me choose a name, language, and description, however once I clicked “OK” nothing happened. Sharp Develop did not open nor did the new module appear in the Macro Manager window.

I found the suggested fix on, however it did not work for me. Perhaps because this post was for an earlier version of Revit.

Here’s actually what ended up working for me:

  1. Close all Revit instances.
  2. Navigate to your Macros folder on your C drive:
  3. You may see multiple years in this folder, one per Revit version installed on your computer (e.g., 2014, 2015, 2016, 2017). Move the year of Revit that you are working in to a temporary folder like your desktop.
  4. Restart Revit.
  5. Go to your Macro Manager and create a new module.

By creating a new module, Revit recreates this directory and is able to successfully create a new module for your use.

  • Sam Sampoux

    Thanks for the solution! I too found the RevitForum suggestion, which didn’t work for me.
    Btw, I’ve been going through your posts, and really like them.

  • Mark P

    Thanks a lot. *thumbs up*

  • RadL

    on Revit 2018.2 I have followed your steps and they did not resolve the issue.
    Still not able to create a Module or a Macro.