-PURGE (Command)

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

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

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

The following prompts are displayed.

Type of Unused Objects to Purge

You can specify what types of named objects that you want to remove, including blocks, 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 obsolete DGN linestyle data, or all of these.

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.