Purge
Alias: P U
Removes unused named objects from the drawing.
Description
The Purge command deletes named objects that are defined in the drawing but not currently used by any entities. This can include unused layers, line types, text styles, dimension styles, and block definitions. Purging reduces file size and keeps the drawing tidy.
Workflow
Type
P Uand pressSpaceorEnter.The command automatically removes all unused named objects from the drawing.
Note
Some named objects may be protected and cannot be purged (for example, the 0 layer and the CONTINUOUS line type).
Tips
Run Purge after deleting blocks, unused layers, or imported styles to keep the drawing clean.
Purge only removes objects that are genuinely unused — objects referenced by entities in the drawing are kept.
Use the Layers panel (
Ctrl+L) to check which layers exist before purging.