How to Open/Fix Corrupted dyn. file?

@Ahmed_Ramy - @jacob.small took a look (He has Civil installed on his machine and I do not :smiley: ) and figured out the following way to get it to open. All credit goes to him :superhero: You’ll have to validate if the graph is indeed correct beyond that:

Steps:

  1. Open your .DYN file in a text editor such as Notepad
  2. Use “CTRL + F” to search for the NodeLibraryDependencies key inside the JSON file
  3. This value is null which is causing your graph to fail. Change it to an empty list by replacing Null with [ ]
  4. Save your .DYN file and reopen in Civil 3D

Before fix:
image

After fix:
image

Or you can use this file that @jacob.small fixed for you :slight_smile: POLYLINES TO C3D PIPES - JWS REPAIR.dyn (130.5 KB)

Can you please let us know as best you can the answers to the following so we can track down why it broke? If any of this is sensitive you can always DM either of us:

  1. What is the history of this file - Where did you start it?
  2. What version of Civil 3D are you using for it, and what version of Dynamo?
  3. Has it moved between Computers?
  4. Has it lived on the Cloud?
4 Likes