Hello, Any update ion the fix
Hello @McLean and welcome to the forum!
Unfortunately not much progress, we’re working on this with the Dynamo team, you can follow the conversation on the Dynamo forum as well: Code Block not working due to conflict - #11 by teocomi - Developers - Dynamo
For now you can disable/uninstall the Speckle plugin for Revit to get the code blocks to work again. But if you feel adventurous, I can share with you a local build of Dynamo that seems to be working well with Speckle
Indeed the latest version doesn’t fix the issue
Keep us posted
Hey @chuongmep,
Here is a build of Dynamo that works with Speckle. Please use at your own risk and make sure to backup the original version of Dynamo in case you want to restore it.
Steps to use it:
- backup and delete the
C:\Program Files\Autodesk\Revit 2023\AddIns\DynamoForRevit
folder (this is the current Dynamo shipped with Revit) - download my build of Dynamo from here and unzip its contents inside you favourite addins folder, like
%appdata%\Autodesk\Revit\Addins\2023
- start Revit and enjoy using your code blocks again
NOTE: you will see a couple of error messages when starting Revit about Dynamo missing, you can ingore them
Quick update, we found another workaround that is actually simpler @chuongmep @DanielHurtubise @McLean @Shafeekh .
Disable GenerativeDesignForRevit
by moving it outside from the folder C:\Program Files\Autodesk\Revit 2023\AddIns
; Your code blocks will start working again
We’ll hopefully find a better solution soon
lol, generative design. That’s why! I was wondering why it works in 2022 but not in 2023. Guess what, I have generative design installed in 2023.
Tried the fixes, and none of them worked. Are you guys sure it’s because of Generative Design? Even for Dynamo 2.3 in Revit 2020 where there is no Gen Design the code blocks don’t work…
Hey @Lazarica_Tesu I was just about replying to your github issue
We’re not sure exactly what the cause is, but it’s clearly dut to a DLL conflict.
I see you have a few Dynamo packages installed, could you try temporarily disabling them by moving them out of the Dynamo packages folder and see if anything changes?
We should then do the same for every Revit plugin, until we find what’s conflicting.
Ok, so I did some testing and it seams for me it’s an Revit add-on that is causing the conflict. The add-on is called Orkestra, we use it in the company for Dynamo script management.
But for Revit 2023… indeed GenerativeDesignForRevit.addin is causing issues as well (so for Revit 2023 I had to disable both Orkestra and Gen Design for it to work )
Thank you @Lazarica_Tesu, for the investigative effort. It is a maze of shared/conflicting resources. We can look if there is anything we can do, but often it is in the hands of others. Your pinpointing really helps.
Could you please give our pre-release 2.13.0-alpha3
a quick try and see if, by any chance it solves the conflict?
Here’s how to install it: Manager | Speckle Docs
Thanks for checking @Lazarica_Tesu !
We’re running a bit out of ideas here, and probably only the Dynamo team can help us understand what’s causing the conflict, checking their forum it seems several other addins have been causing similar problems.
There’s an open thread here if you feel like bumping it Code Block not working due to conflict - #11 by teocomi - Developers - Dynamo
Hi @teocomi Any news about this problem? We have the same. Do you know if the bug is fixed for Revit 2024? Thanks
Hey @mirko.maccarronello unfortunately we’re depending a bit on Autodesk for this one and so far they haven’t helped us figure things out. Does the workaround above work for you?
Good news is that I just checked and in 2024 I could not reproduce it anymore.
Please note that Dynamo for Revit 2024 will be released in our upcoming 2.16 version.