GstarCAD command

RECOVER command

Command
RECOVER
Alias
—
Tool group
Utilities
Level
Intermediate

What does RECOVER do?

RECOVER attempts to repair a damaged DWG drawing and then opens the repaired file in GstarCAD. It is particularly useful when a drawing cannot be opened normally or when file corruption causes errors during loading. Unlike AUDIT, which checks the drawing that is already open, RECOVER performs its repair process while opening the selected drawing.

How to use the command

  1. Start GstarCAD without opening the damaged drawing.
  2. Type RECOVER, then press Enter.
  3. In the file selection dialog, locate the DWG file that you want to repair.
  4. Select the drawing and choose Open.
  5. Wait while GstarCAD checks the drawing database and attempts to repair detected errors.
  6. Review the recovery report, then save the repaired drawing under an appropriate file name.
Command: RECOVER ↵
Select File: choose damaged DWG file
Open: confirm
Recovery result: review report

Key RECOVER behaviour

RECOVER combines opening and drawing repair, making it useful when a problematic DWG cannot be audited normally.

DWG repair
Checks the selected DWG drawing for errors, attempts to repair supported problems and then opens the recovered file.
Recovery report
Provides information about the drawing check and the problems encountered during the recovery process.
DXF files
When used with a DXF file, the command opens the file but does not perform the same repair or audit operation used for DWG drawings.
FILEDIA
When file dialogs are enabled, GstarCAD displays a file selection window. With FILEDIA set to 0, the drawing file name can be entered through the command line.

Practical example: repair a DWG that will not open

Suppose a project drawing closes unexpectedly and later produces an error whenever you try to open it normally. Start GstarCAD with another or empty drawing, run RECOVER and select the affected DWG file. GstarCAD checks the drawing database, repairs supported errors and opens the recovered drawing when possible. Review the results carefully and save the repaired drawing before continuing normal editing.

Tip

Use AUDIT when a drawing can still be opened but needs to be checked for database errors. Use RECOVER when the problematic drawing needs to be repaired as part of the opening process.

Important

Keep an untouched backup of the damaged drawing before attempting recovery. After a successful repair, save the recovered drawing as a new file before replacing the original.

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.