Upgrading graphs to Revit 2022

The Yellow ! is a choice - you get to keep the nodes in that graph, or “upgrade” them to the version installed on your machine :slight_smile: They won’t affect the graph execution.

But… great trick! If green ticks is what you want then this seems an awesome approach :smiley:

If I click on “Keep Installed Version” does that make it like I put in the node from the current version of the package that I have installed? Is it the same as pasteing into a new graph?

Another way to accomplish that is to search my old Packages folder for the node name, then I can attempt to copy or install that folder or package.
image


Restart Dynamo after copying that folder to the current Packages path…
image

1 Like

Be careful when replacing If nodes to the new kind. They may give different results.

1 Like

If you use the “Keep Installed Version”, the version that you save the graph with now will be as installed from you, not as received upon first open.

Flow as follows:

  1. Open graph from elsewhere.
  2. Graph contains nodes from Package XYZ in version 1.0
  3. You have Package XYZ in version 2.0
  4. DYN file has logged package version as 1.0, so flags in “Workspace References” that there is a difference
  5. You get to choose to keep the installed version (2.0), or install the specified version (1.0), which would necessitate your Dynamo removing Package XYZ 2.0 and installing Package XYZ 1.0
  6. If you choose to “Keep Installed Version”, you will serialized back to the DYN file that the package has to upgrade from Package XYZ 1.0 to Package XYZ 2.0.
  7. When you pass on that graph to another person, that graph will require them to then have Package XYZ 2.0.

You will want to manually check that the output of the graph is the same in this scenario, as the package author may have changed the logic of that node, but also may have not. Any package version change (i.e. the author adding new nodes) will prompt this.

Yes please do be aware that the new If node has changed how the logic is calculated so in older graphs you’ll need to be aware of this :pray:

Please read more about it on our blog post: Dynamo Core 2.12 Release - Part 1/2 - Dynamo BIM

You should still be able to return the same results as before (Check out [Request for Feedback] If Node - #24 by solamour for pointers), but now we also support a bunch of new use cases.

Yes, I now click on “Keep Installed Version” for all of the old Packages when I upgrade graphs.
image

I haven’t had problems with that except for Dynamo’s old/new If – I have to test each replacement.

1 Like