Find and repair errors with AUDIT, delete unused blocks, layers and linetypes with PURGE, and rescue what can be read from a damaged file with RECOVER. For keeping drawings healthy and small.
Before you start
- A licence that includes 2D drafting.
- Save a copy before large repairs; each repair is still one undo step.
Steps: audit a drawing
- Type
AUDIT. - At "Fix any errors detected? <N>" press Enter to report only, or
Yto repair. - It lists the problems and ends with "Total errors found ..., fixed ...".
AUDIT checks every object, including block references and attribute definitions, for numbers that are not finite, zero-size geometry or scales, invalid attribute tags, objects on missing layers, dimensions that follow erased objects, annotative objects naming missing scales, and a missing current layer. Repairing erases broken objects, recreates missing layers and removes dangling links, in one undo step.
Steps: purge unused items
- Type
PURGE(aliasPU). - At "Enter type of unused objects to purge <All>" press Enter, or choose Blocks, Layers or LTypes.
- Each deleted item is listed, or "No unused named objects found."
Blocks are purged first (including those only unused blocks use), then layers and linetypes. Layer 0, the current layer and Continuous are never purged. A linetype a layer state or the current properties name counts as used. It is one undo step.
Steps: recover a damaged drawing
- Choose File > Recover… (or type
RECOVER) and pick the damaged drawing. - What can still be read opens as a new drawing named "file (recovered)". A wrong or missing checksum, a file cut short and unreadable records do not stop it; each record left out is listed.
- Problems AUDIT would repair are repaired as one undo step.
- Save the result under a new name. The damaged file is not changed.
Example
A drawing from a supplier is slow and large: run AUDIT with Yes, then PURGE with Enter. Several unused blocks and
layers are deleted and the file saves smaller.
Tips and common mistakes
- Run AUDIT before PURGE: repairs can make more items unused.
- For autosaves after a crash, use File > Recover autosaves… instead.
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| "... Run AUDIT again and answer Yes to fix them." | You ran AUDIT to report only. |
| "No unused named objects found." | Everything is in use. |
| A layer you expected to purge stays | It is layer 0, the current layer, or something still uses it. |
Related
Related
- Backing up and recovering drawings
- Comparing drawing revisions
- Finding repeated geometry
- Checking a drawing against your standards
- Markup comments and marked-up PDFs
- Project support packages and material libraries
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.