Commands > P commands > PURGE > 
-PURGE
 
 
 
Quick Reference
See Also

Removes unused items, such as block definitions and layers, from the drawing.

Summary

The -purge command provides the ability to remove unused items from a drawing through scripts. -PURGE removes only one level of reference. Repeat -PURGE until there are no unreferenced, named objects. You can use PURGE or -PURGE at any time during a drawing session.

NoteThe PURGE command will not remove unnamed objects (zero-length geometry or empty text and mtext objects) from blocks or locked layers.

List of Prompts

The following prompts are displayed.

Type of Unused Objects to Purge

Deletes unused applications from blocks, dimension styles, layers, linetypes, materials, multileader styles, plot styles, shapes, text styles, multiline styles, table styles, visual styles, regapps, zero-length geometry, empty text objects, or all.

Enter Name (s) to Purge

Enter an object name of * to list the objects.

Verify Each Name to Be Purged?

Enter y to verify each name.