What does AUDIT do?
AUDIT checks the integrity of the current drawing database and identifies errors that may have developed inside the DWG file. When requested, GstarCAD attempts to repair supported problems automatically. The command is useful when a drawing behaves unexpectedly, contains corrupted data or has been exchanged between different CAD applications.
How to use the command
- Type
AUDIT, then press Enter. - GstarCAD asks whether detected errors should be corrected.
- Enter
Yto allow GstarCAD to repair supported errors automatically. - Wait while the drawing database is checked.
- Review the command-line report to see how many errors were found and how many were corrected.
- Save the drawing after the audit has completed successfully.
Command: AUDIT ↵
Fix any errors detected? [Yes/No] <N>: Y ↵
Audit completed: review results
Key AUDIT options
AUDIT has a simple workflow, but the repair choice and audit reporting settings determine what happens during the check.
Practical example: check an unstable project drawing
Suppose a large project drawing begins displaying unusual behaviour after receiving geometry from several external DWG files. Start AUDIT and choose Yes when asked whether detected errors should be corrected. GstarCAD checks the drawing database and repairs supported inconsistencies. After the process finishes, review the reported number of errors and save the corrected drawing. If serious corruption remains or the file cannot be opened normally, use RECOVER instead.
Tip
Run AUDIT when a DWG starts behaving unexpectedly or after working with drawings received from external sources. For a more complete clean-up workflow, follow it with PURGE to remove unused definitions and OVERKILL to remove duplicate geometry.
Important
Save a backup of important project drawings before performing repair operations, especially when file corruption is suspected.