I’m working with a Dynamo graph for a project. The project team would like to be able to use the graph to setup their projects in Revit 2017, 2018, and 2019.
I have Revit 2017.2.4, Revit 2018.3.2 and Revit 2019.2 installed. I also have Dynamo 1.3.4 & Dynamo 2.0.2 both Core & Revit installed (also Core 1.3.2 for Dynamo Studio).
The graph was created in Dynamo 1.3.3 and worked as expected in Revit 2017, 2018 & 2019.
However, when Revit 2019.2 installed Dynamo 1.3.4 the graph stopped working in Revit 2017 & 2018.
The graph works in all 3 versions of Revit if Dynamo 1.3.3 & 2.0.2 are installed.
The graph will also work in all 3 versions of Revit if JUST Dynamo 1.3.4 in installed.
However, if 1.3.4 & 2.0.2 are installed at the same time the graph will only work in Revit 2019?
The graph does include custom packages.
The graph takes advantage of the Data-Shapes package, and when it doesn’t work it just skips over (does not initiate) any of the 4 pop-up windows. I also receive a non-printable character error, which is not an issue in the working graph (my guess is the error may happen because there is no Data-Shapes input because of the missing pop-ups).
After I cancel out of that error I get an Unhandled Exception error from Dynamo.
The graph completes with warnings, but nothing actually happens.
Because of project NDA I’m not able to share the dyn.
@CStorms - can you confirm which version of the datashapes nodes you’re using? Also are there any errors showing in your console (bring the mouse right above the charcoal bar at the bottom of the UI and drag up).
This feels as if something is sidelining the datashapes functionality (namespace collision? perhaps an issue with a security setting?) @Mostafa_El_Ayoubi may have some insight here.
What is the path to your Dynamo for Revit 1.3.4 package directory, and your Dynamo for Revit 2.0.2 package directory? (you’ll have to check in two different Revit instances to know).
Step 2: Make sure all packages in the E:\ZZ_Dynamo
secondary 1.3.4 ( = C:\Users\cstorms\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages) are built for 1.3 (open the dyns where possible). Then attempt to open in 1.3.4 and then then 2.0.2.
Step 3: Disable all add-ins in Revit and try both a second time.
I removed my pyRevit (4.6.12) add-in from Revit and that did the trick.
While doing that I also found 3 packages in my 1.3x Packages folder that were made for 2.0 and removed them as well.
Forgot to add the sweet little graph @jacob.small shared with me to be able to check what version of Dynamo the custom packages I had installed were built on. It runs in Dynamo 2.0