GstarCAD command

AUDIT command

Command
AUDIT
Alias
AUDIT
Tool group
Utilities
Level
Intermediate

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

  1. Type AUDIT, then press Enter.
  2. GstarCAD asks whether detected errors should be corrected.
  3. Enter Y to allow GstarCAD to repair supported errors automatically.
  4. Wait while the drawing database is checked.
  5. Review the command-line report to see how many errors were found and how many were corrected.
  6. 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.

Yes
Checks the drawing and attempts to correct supported errors that are detected during the audit.
No
Checks the drawing for errors without automatically correcting the detected problems.
AUDITCTL
Controls whether GstarCAD creates an audit report file. When set to 1, an .adt report records detected problems and corrective actions.
RECOVER
Use RECOVER when a damaged drawing cannot be opened normally or contains errors that AUDIT cannot repair.

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.

All commands Updated 25 September 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.