[faq] My .dyn/.dyf file from 2.12/2.13 won't open in older versions of Dynamo

Users recently reported a bug that made its way into Dynamo 2.12.

symptom

You may find that upon opening newer Dynamo files in older Dynamo versions, that nothing appears to happen. There is no error, and no crash, but the selected file does not open.

example:

why

In Dynamo 2.12 we started serializing (saving) dropdowns and selection nodes when these nodes were marked as inputs, when we had not before.

how to fix it

there are a few ways to work around this problem:

  • use the experimental package - Dynamo Future File it’s built to resolve this problem automatically when it is run in old versions of dynamo. In new versions it won’t do anything. We may update this package to address other issues like this in the future.
  • hand modify the .dyn/.dyf json using a text editor, or scripting language, (like dynamo, ptython etc) to convert instances of the text hostSelection and dropdownSelection to Selection - if applied to the entire file, this could cause issues if those strings were used in other spots.
  • Move up to a newer Dynamo version - of course this is not possible in many cases.

Other steps we have taken:

  • Addressed this type of issue for input nodes - nodes which are marked as input and fail to load, can no longer stop the entire graph from loading.
  • Newer versions of dynamo will no longer produce these broken files.
11 Likes

holy smokes. this is the first time I have seen this post. Will be sure to add this to my BILT presentation next week.

I also want to give a big thanks to @Michael_Kirschner2 for getting that package out to fix it.

It works great in Revit 2021/Dynamo 2.6.x

8 Likes

We also just discovered this while we were doing some content upgrades and panicking when we couldn’t open updated workspaces in earlier versions. This tool works like a charm! Thanks @Michael_Kirschner2 :+1:

Add me to the list of people “just now finding out.” This is a really cool solution too. Allows for retroactive fixes in the future as well.

2 Likes

We’re working on the “Notifications Center” right now to help spread messages like this in the future inside of Dynamo :slight_smile:

3 Likes

I was literally just thinking this. Push notification for important news and updates.

2 Likes