Removes unused items, such as block definitions and layers, from the drawing.
Entering purge or -purge at the Command prompt displays options related to removing unused named objects and some empty geometric objects.
Unused named objects can be removed from the current drawing. These include block definitions, dimension styles, groups, layers, linetypes, and text styles. Zero-length geometry and empty text objects can also be removed.