Revit Macro IDE does not open when clicking Macro edit

Revit Macro IDE does not open when clicking Macro edit

ABertzouanis9F98Y
Enthusiast Enthusiast
4,257 Views
14 Replies
Message 1 of 15

Revit Macro IDE does not open when clicking Macro edit

ABertzouanis9F98Y
Enthusiast
Enthusiast
I can create a module, but when trying to open Revit Macro IDE by clicking edit nothing happens.

Is there any reason why ? Can I manually start it externally from Revit ?

Macros.PNG

0 Likes
Accepted solutions (1)
4,258 Views
14 Replies
Replies (14)
Message 2 of 15

michael_coviello
Autodesk Support
Autodesk Support

Hello @ABertzouanis9F98Y 

Thank you for posting to the forum.   

Which version of Revit are you using?   Has this always been an issue with this version of Revit?

Do other versions work correctly on this computer?

Please try these steps to see if it helps,

  1. Copy the macros folder to another location (for backup)
  2. C:\ProgramData\Autodesk\Revit
  3. Launch Revit

Does Macro Edit launch correctly?

 



Michael C
Technical Support Specialist
What's New in Revit 2023 | Autodesk University | Revit Blog
0 Likes
Message 3 of 15

Rafal.Gaweda
Autodesk Support
Autodesk Support

Hi @ABertzouanis9F98Y 

 

Have You updated windows system to version 21H1 lately?
https://en.wikipedia.org/wiki/Windows_10_version_history#Version_21H1_(May_2021_Update)

 

Please type winver in windows search field, run it and check windows system version.

 



Rafal Gaweda
0 Likes
Message 4 of 15

ryan.lenihan
Enthusiast
Enthusiast

Hi @Rafal.Gaweda and @michael_coviello , I'm assuming that the user is in 2021, or has installed the 2021.1.1.3 hotfix, as this appears to be a problem with that specific patch. The macro manager works fine in all versions of Revit including 2021 before applying the patch. After the patch is applied, the macro manager is broken in all versions of Revit.

Specifically the problem is with SharpDevelop not loading. I have recorded a video to explain (attached), but you can see one 2021.1.1.3 patch has been installed when creating a module it does not appear until the macro manager is closed and re-opened. SharpDevelop never loads. Trying to create a macro doesn't work at all.

This is on Win10 20H2.

0 Likes
Message 5 of 15

ABertzouanis9F98Y
Enthusiast
Enthusiast

@ryan.lenihan Many thanks for your video. That is exactly what I am experiencing. Haven't tried to check if that occurs due to the Revit 2021 patch. I will try to downgrade and confirm if that works without the latest patch.

0 Likes
Message 6 of 15

ABertzouanis9F98Y
Enthusiast
Enthusiast

@michael_coviello 

See below my Revit versions. I also tested in Revit 2020 and my Macro IDE does not open.

revit version.PNG

revit version 2020.PNG

 

 

0 Likes
Message 7 of 15

ABertzouanis9F98Y
Enthusiast
Enthusiast

@Rafal.Gaweda  Yes, I updated to windows 21H1 but I still get this error.

0 Likes
Message 8 of 15

ryan.lenihan
Enthusiast
Enthusiast

Discussing with one of my colleagues that had the error after applying the 2021.1.1.3 hot fix, they confirmed it is fixed if they first fully uninstall Revit 2021, then re-install without that particular hot fix. If they just rolled back the patch, it apparently did not fix the problem.

0 Likes
Message 9 of 15

michael_coviello
Autodesk Support
Autodesk Support

Hi @ABertzouanis9F98Y    Were you able to confirm if rolling back to 2021.1.2 or uninstall/reinstall as @ryan.lenihan  mentioned fixes the issue?

Also,  do you find the same issue of the Macro IDE not opening in Revit 2022?

 



Michael C
Technical Support Specialist
What's New in Revit 2023 | Autodesk University | Revit Blog
0 Likes
Message 10 of 15

ryan.lenihan
Enthusiast
Enthusiast

@michael_coviello confirming that when 2021.1.1.3 is installed the macro IDE does not work on any version of Revit installed on my machine (2020 - 2022) and for a co-worker that is 2019-2021.

 

Once I have uninstalled and re-installed Revit 2021, the macro IDE works for every version of Revit again. I'm currently patched to 2021.1.1.2 and leaving it there.

0 Likes
Message 11 of 15

michael_coviello
Autodesk Support
Autodesk Support

Thank you @ryan.lenihan  Could you and @ABertzouanis9F98Y  post a journal file of one of the failing attempts for review?  (preferably from 2021.1.1.3)

Thank you!



Michael C
Technical Support Specialist
What's New in Revit 2023 | Autodesk University | Revit Blog
0 Likes
Message 12 of 15

michael_coviello
Autodesk Support
Autodesk Support
Accepted solution

Thank you for the details @ryan.lenihan 

This problem has been logged to our team for investigation.   

There is a subfolder called "SDA" (by default install it is here:  C:\Program Files\Autodesk\Revit 2021\SDA

 

If you have other versions of Revit installed already, Does this help to get the Macro IDE to work for Revit 2021.

  1. Exit all versions of Revit.
  2. Install Revit 2021.1.1.3
  3. Ensure SDA Process is stopped/Kill process if running.
  4. Backup Revit 2021\SDA Folder
  5. Delete Revit 2021\SDA Folder
  6. Copy C:\Program Files\Autodesk\Revit 2019\SDA to C:\Program Files\Autodesk\Revit 2021\SDA
  7. Launch Revit 2021.1.1.3 to test.

This also works with Revit 2020\SDA and Revit 2022\SDA

 

Please hit the Accept as Solution button if this helps to solve the issue.

 



Michael C
Technical Support Specialist
What's New in Revit 2023 | Autodesk University | Revit Blog
Message 13 of 15

ryan.lenihan
Enthusiast
Enthusiast

@michael_coviello that's brilliant! thanks that works 😁

 

I'm sure you don't need it now, but I had to re-install 2021.1.1.3 to get the journal for you. I've attached it anyway for info. 

edit: i can't accept the solution as i'm not the OP.

0 Likes
Message 14 of 15

michael_coviello
Autodesk Support
Autodesk Support

@ryan.lenihan  I'm happy to hear that worked for you;  I'll mark it as an accepted solution.   



Michael C
Technical Support Specialist
What's New in Revit 2023 | Autodesk University | Revit Blog
0 Likes
Message 15 of 15

ariderAEE99
Contributor
Contributor

@michael_coviello This workaround also worked for me. Thank you very much. 

 

For what it counts, I noticed patch 2021.1.4 does not solve this issue. Using the SDA from 2019 still works, though.