1.25.2013

AutoCAD: Troubleshooting corrupt DWG files

Issue: 
An AutoCAD DWG file cannot be opened and causes AutoCAD to show error messages or alerts, or to freeze or crash.   

Causes: 

Possible causes of file corruption 
  • Network (transmission errors, file locking, latent writing of data)
  • Storage media degradation (bad sectors on a hard drive)
  • Defective or failing RAM
  • Operating system issues
  • Power surges
  • 3rd - party applications running inside the Autodesk product
  • DWGs created or saved by non-Autodesk non-RealDWG products
  • AutoCAD terminated while saving DWG (less frequent)

Recommendation: Audit and purge before saving

Solution

If a file cannot be opened, the following steps can be taken: 
  • RECOVER command 
  • Recovers a selected drawing file
  • If successful, open and run AUDIT command (Evaluates drawing integrity and possibly more error correction)
  • Set system variable AUDITCTL=1 to create a report of audit results
  • RECOVERALL command (Recovers a selected drawing file)
  • Attached and nested xrefs are also opened, repaired, resaved, and closed
  • INSERT and EXPLODE
  • Start a new DWG with no template 
  • Run INSERT and selected the corrupted drawing
  • Check the “Explode” option
  • If DGN data was used: 
  • NETLOAD the AutoCAD® DGN Hotfix (DgnLsPurge.dll) and run DGNPURGE
  • The Hotfix can be downloaded from the Autodesk® Knowledge Network Support 


If a file can be opened but still shows signs of corruption, the following steps can be taken:
  • RECOVER and AUDIT
  • PURGE command
  • Copy and Paste into a new drawing
  • AECTOACAD (-EXPORTTOAUTOCAD) 
  • Exports to a pure AutoCAD file in selected drawing version
  • Strips potentially corrupt custom objects
  • WBLOCK command 
  • Set all layers ON, THAWED and UNLOCKED
  • WBLOCK all objects in the drawing to an external block file
  • INSERT the resulting file as block into a new drawing (check the “Explode” option or EXPLODE the block after inserting)
  • AUDIT and PURGE
  • DXFOUT/DXFIN 
  • DXFOUT to create a new .dxf file
  • Start new drawing and DXFIN to import the new .dxf file
  • Also try exporting as AutoCAD 12 DXF
  • XREF into a new drawing and BIND


Products: 

AutoCAD; AutoCAD Civil 3D; AutoCAD Map 3D; AutoCAD Raster Design; Infrastructure Modeler 
Versions: 2011; 2012; 2013; 2014 





This document contains content adapted from the Autodesk® Knowledge Network, available under Attribution-NonCommercial-No Derivative Works. Copyright © Autodesk, Inc.

3 comments:

  1. I have tried a lot but it didn't helped me. Can anyone help me out..Thanks in advance.

    ReplyDelete
  2. What you have a tried lately? Learning is a process. Focus one at first then go ahead to the next.

    ReplyDelete
  3. Hello! WoulԀ you mind if I share your blog with my twitter group?

    There's a lot of folks tһat I think would really appreciate yߋur content.
    Pⅼease let me know. Thanks
    my sources : Βest 4 Tips For Encryption Softwarе & How To Encryρt A Password For Free It:
    Here’s Hօw

    ReplyDelete

Its about friendly conversation here at Pinoy CAD+. This is not a forum. We hate spammer. No foul languages. But I love to hear your thoughts.

The Future of Construction: Integrating Building Information Modeling (BIM) with AI Technology

The construction and architecture industries are poised for a technological revolution, driven by integrating Building Information Modeling ...