Frequent tipster Danny Korem provides several tips for coping with corrupted AutoCAD files.
"From time to time I’m asked to restore a DWG file that is malfunctioning; the user opens it and directly receives a fatal error. From within any computer in our office, CAD users can access a procedure I created for this purpose. They can use it to purge their files (including the zero length/empty text objects), purge registered apps within the drawing, get rid of old layer filters, and so forth. Finally, the procedure will audit each drawing and fix errors.
"In other cases, I will start a new file based on our template, split the screen, go to the problematic file, select, and drag and drop (holding the right mouse button), pasting to original coordinates.
"Sometimes it won't solve the problem. In those cases I escalate and run Map 3D, attach the drawing, and create a geometric query with the inside polyline option. Executing the query will create a new DWG file; simply save and you have your file. You lose some data using this method; you'll get only the model space, and may need to reattach all the crossed referenced files. Since we hold a long timeline of cloud backup, if I have no choice I’ll order a copy (or several) of the file and treat it as described here.
"Another tool I use to save working hours in cases of complaints about corrupted files is the copyhist(ory) feature. When pasting the history into a word processor, I try to analyze where and when the problem started."
Notes from Cadalyst tip reviewer Brian Benton: Corrupted files are something that we all have to deal with from time to time, and often the Audit or Recover commands won’t solve the problem. Weird things happen to viewports. Layers exhibit strange behavior. Circular references bog us down. Blocks within blocks within blocks mess with our heads.
These tips are all good, and I bet most of you have tried many of the tipster's suggestions. A similar trick that I use is to start a new file with a template, go to paper space, right-click on the paper space tab, and select From Template. Browse to the corrupted file and insert the paper space tab that is troubling you; this will insert everything from that tab into your new file. |