Repair a Damaged Drawing File
a drawing file is damaged, you can recover some or all of the data
by using commands to find and correct errors.
Repair and Recovery
When an error occurs, diagnostic
information is recorded in the acad.err file, which
you can use to report a problem.
file is marked as damaged if corrupted data is detected, or if you request
that the drawing be saved after a program failure. If the damage
is minor, sometimes you can repair the drawing simply by opening
it. Otherwise, you can use the following:
RECOVER. Performs an
audit on, and attempts to open, any drawing file.
RECOVERALL. Similar to recover,
it additionally operates on all nested xrefs. The results are displayed
in the Drawing Recovery Log window.
AUDIT. Finds and corrects
errors in the currently open drawing file.
Example: Auditing Files
Auditing a file generates a description of problems
with a drawing file and recommendations for correcting them. As
you start the audit, you specify whether you want the program to
try to fix the problems it encounters. The report is similar to
the following example:
DXF NAME Current Value Validation Default
PDMODE 990 - 2040
UCSFOLLOW 811 or 0
Error found in auditing header variables
4 Blocks audited
Pass 1 4 objects audited
Pass 2 4 objects audited
Total errors found 2 fixed 2
chose not to correct the errors, the last statement changes to
Total errors found 2 fixed 0.
from a recovery audit is written to an audit log (ADT) file if the
AUDITCTL system variable
is set to 1 (On).
does not necessarily preserve the high-level consistency of the drawing
file. The program extracts as much material as it can from the damaged
repair a damaged drawing file
repair a damaged drawing file due to a system failure
repair an open drawing
restore a drawing from a backup file