01 / 21

Drawing Repair
AUDIT & RECOVER

Learn to diagnose and fix corrupted AutoCAD drawings using built-in repair commands that can save hours of rework.

AutoCAD

What Is Drawing Corruption?

Drawing corruption occurs when a .dwg file's internal data structure becomes damaged. This can cause crashes, missing objects, strange error messages, or the inability to open the file at all.

Common Causes of Corruption

✕ Crash During Save
Power failure, system freeze, or application crash while writing data to disk.
✕ Network Issues
Saving over an unstable network connection can interrupt the write process mid-stream.
✕ Version Conflicts
Opening and saving between incompatible AutoCAD versions or third-party applications.

Recognizing Warning Signs

1
Unexpected crashes when opening, saving, or plotting the drawing.
2
Missing or phantom objects: geometry that appears on screen but won't plot, or vice versa.
3
Error messages during SAVE, OPEN, or when running commands like PURGE or AUDIT.
4
Bloated file size: the .dwg is significantly larger than expected for its content.
5
Slow performance: commands take unusually long to execute even on simple drawings.

The AUDIT Command

AUDIT examines the currently open drawing for database integrity errors. It scans every object in the drawing database, reports errors found, and optionally fixes them automatically.

Command: AUDIT
Fix any errors detected? [Yes/No] <N>: Yes
Auditing Header
Auditing Tables
Auditing Entities Pass 1
Auditing Entities Pass 2
Total errors found: 3 fixed: 3

The RECOVER Command

RECOVER opens a damaged drawing file and automatically attempts to repair it in the process. Unlike AUDIT, RECOVER works on files you cannot open normally.

Command: RECOVER
[File dialog opens: select the damaged .dwg]
Drawing recovery log:
3 invalid entities removed
1 orphaned dictionary item fixed
Drawing recovery complete.

How They Work Together

Drawing Issue Can you OPEN the file? YES AUDIT Fixed? YES Done ✓ NO NO RECOVER Fixed? YES Done ✓ NO Use .bak / .sv$ files

AUDIT vs RECOVER

AUDIT RECOVER
Requires file open? Yes No
Repair severity Minor to moderate Moderate to severe
Speed Fast Slower
User prompt "Fix errors? Y/N" File dialog
Risk of data loss Very low Low: removes unfixable objects
When to use First line of defense When AUDIT fails or file won't open

Step-by-Step Repair Workflow

1
Make a backup copy of the damaged .dwg file before attempting any repair.
2
Try opening the file normally. If it opens, proceed to Step 3. If not, skip to Step 5.
3
Run AUDIT and choose Yes to fix detected errors.
4
Run PURGE to remove unused named objects, then SAVE the drawing.
5
Run RECOVER if AUDIT didn't solve the issue or the file wouldn't open.
6
Verify the repaired drawing: check for missing objects, correct layer states, and proper xref paths.

Example 1: Basic AUDIT Fix

Scenario: A floor plan opens successfully but shows error messages when you try to plot. Some dimensions appear corrupted.

Command: AUDIT
Fix any errors detected? [Yes/No] <N>: Y
Auditing Header
Auditing Tables
Auditing Entities Pass 1
2 invalid dimension objects
Auditing Entities Pass 2
Total errors found: 2 fixed: 2

Example 2: Using RECOVER

Scenario: A team member sends you a .dwg that crashes AutoCAD every time you try to open it. The file was saved during a network interruption.

Command: RECOVER
[Select "FloorPlan_v3.dwg" from file dialog]
Drawing recovery log:
5 objects with invalid handles removed
2 orphaned dictionary entries cleaned
1 corrupt block definition rebuilt
Drawing recovered with 8 errors fixed.

Example 3: Combined Approach

Scenario: A large project drawing opens but runs extremely slowly. File size is 85 MB for what should be a 15 MB drawing.

1
AUDIT (Yes): found and fixed 12 errors in the database structure.
2
PURGE (run 3 times): removed 340 unused block definitions, 28 layers, and 15 text styles.
3
WBLOCK: wrote all geometry to a fresh .dwg file: size dropped from 85 MB to 14 MB.
4
Final AUDIT: confirmed 0 errors remaining. Performance restored.

Supporting Commands

PURGE
Removes unused named objects (blocks, layers, styles) to reduce file size and clutter.
WBLOCK
Writes selected objects to a new clean .dwg, stripping out hidden corruption in the process.
RECOVERALL
Like RECOVER, but also repairs all nested xrefs in addition to the main drawing file.

The Drawing Recovery Manager

When AutoCAD crashes, it automatically opens the Drawing Recovery Manager on the next launch. This tool shows all recoverable versions of your drawing.

Drawing Recovery Manager FloorPlan.dwg Last saved: 2:45 PM (original) 15.2 MB FloorPlan.bak Previous save: 2:30 PM (backup) 15.1 MB FloorPlan.sv$ Autosave: 2:40 PM (auto-recovery) 14.8 MB Status: Double-click a file to attempt recovery. Most recent autosave recommended.

Common Mistakes to Avoid

✕ No Backup First
Running RECOVER on the only copy of a file. If recovery removes objects, you have no fallback.
✕ Skipping AUDIT
Jumping straight to RECOVER when the file opens fine. AUDIT is faster and less destructive.
✕ Choosing "No" in AUDIT
Running AUDIT but answering "No" to fix errors: this only reports problems without repairing them.
✕ Single PURGE Run
Running PURGE only once. Nested dependencies mean you often need 2 to 3 passes to fully clean a file.
✕ Ignoring the Log
Not reading the RECOVER log to understand what objects were removed or modified during repair.

Repair Command Summary

Command Purpose When to Use Severity
AUDIT Scan and fix open drawing File opens but has errors Low
RECOVER Open and repair damaged file File won't open normally Medium
RECOVERALL Recover file + all xrefs Complex projects with xrefs Medium
PURGE Remove unused named objects After any repair, or bloated file Low
WBLOCK Export to clean new file Last resort to strip corruption High

Question 1 of 5

You receive a .dwg file from a colleague, but AutoCAD crashes every time you try to open it. Which command should you use first?

Question 2 of 5

When you run the AUDIT command and it asks "Fix any errors detected?", what happens if you choose "No"?

Question 3 of 5

A drawing file is 85 MB but should only be about 15 MB. After running AUDIT, what is the best next step to reduce the bloated file size?

Question 4 of 5

What is the most important step to take before running RECOVER on a damaged drawing file?

Question 5 of 5

Which file type created by AutoCAD's automatic save feature is typically your most recent recovery option after a crash?