Issue:
You get this error opening a Civil 3D file that was started in an older version and you’ve opened and saved in a new version or get the error when opening the file
Causes:
Typically, I see this occur with 2018/2019 files that are then brought over into 2020 or newer version of the software, and in most cases the problem is with pipe networks in that drawing.
Solution:
Here’s how to correct the issue (in most cases), if there is pipe networks in the drawing, skip to the Alternate Fix section to confirm it’s a pipe network issue:
- Open the file in the older version using the Recover process
- Let the drawing open, it will run a recovery operation and full Audit, make note of any dialog boxes that come up (this is informational, and may uncover part of the errors along the way.
Pay particular attention if you get this dialog box:
This indicates that the file is either damaged or is in an error state with some of the data.
And this one:
This means there are elements in the drawing that are before the 2018 version of the software. - Hit the F2 key or type in TXTSCR to review any errors found during the Audit:
This may indicate items that you may need to redo/fix in the drawing. - Now go to the Model Space Tab (if you are not already there), and type in PURGE, and purge all the data you can from the drawing.
- Now, type in -PURGE (with a minus sign)
(This is the command line purge, the only way you can get to the Registered Applications)- Type in RE, Regapps, or select Regapps
- Hit enter at this prompt
- Type or Select No at this prompt:
- Normally you should have 20 or less, if this list gets large, it will impact the drawing performance and stability
- Type in RE, Regapps, or select Regapps
- SaveAs a new drawing name and close the drawing and repeat the process again (Steps 1-5)
- If the same errors occur during the Recovery process the second time, then the file is damaged and will either need to be rebuilt or brought into a new drawing. This may or may not bring over the bad data, so be aware that the best option is to rebuild the file.
See this link to rebuild the file in a newer version of C3D (if the file opens in an older version (2018 or 2019), then use that program to rebuild the file.
- If the Drawing will not insert into a blank template, then you can try this next:
https://resources.imaginit.com/support-blog/how-to-remove-invisible-non-selectable-data-in-a-dwg
This may allow you to remove invalid data, but be aware that there can be some data loss and you may still have to rebuild data shortcuts, XREF’s, and possibly other data types as well. Typically, when I do this process it will erase ALL pipe networks.
Alternate Fix:
- As an alternate test, open the drawing in 2018/2019, do steps 1-6, and then go into the Pipe Networks and delete ALL pipe networks or referenced networks:
Then save the file and then see if it will open in 2020 or newer without the error. If it does, then you will need to rebuild the pipe networks in that drawing.
About the Author
Follow on Linkedin More Content by Ryan Wunderlich