-PURGE (Command)

Removes unused named objects, such as block definitions and layers, from the current drawing using the command line.

Summary

Removes unused named objects from the current drawing at the Command prompt. You can only remove one level of nested references at a time. Repeat the command until there are no unreferenced, named objects.

Note: The PURGE command will not remove unnamed objects such as 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

You can specify what types of unreferenced named objects that you can remove, including block definitions, detail view styles, dimension styles, groups, layers, linetypes, materials, multileader styles, plot styles, shapes, text styles, multiline styles, section view styles, table styles, visual styles, registered applications, zero-length geometry, empty text objects, and orphaned DGN linestyle data, or all of these.

Enter Name (s) to Purge

Enter an object name or * to list the objects.

Verify Each Name to Be Purged?

Enter y to verify each name.