Remove unused items from drawings

Tools tab > Utilities group > Purge, PURGE

With this function, you can remove unused layers, text styles, dimstyles, linetypes, symbols and applications identifiers from drawings.

Do the following:

  1. Select which type of objects you want to remove [All/ Layers/ Linetypes/ Textstyles/ Symbols/ Dimstyles/ App.identifiers/ Layouts/Groups].

  2. Define a filter for the objects you want to remove. For example, to remove all layers that start with an A, enter A*.

When you use a linetype, a text style, a dimension style or a symbol for the first time, its definition will be stored in the drawing. If all objects referring to that particular style, linetype or symbol are erased, the definition will still remain in the drawing. Similarly, if you have a layer with no objects on it, the layer will still remain in the drawing. In some cases, especially when you have erased lots of symbols, executing the PURGE command will make the drawing file significantly smaller.

Sometimes you can’t seem to purge a layer, even though there are no objects on it. In such cases there is usually a symbol definition that references the layer. Also, some CAD programs enter different layer to a polyline vertex than the polyline itself. You must first remove the object that references the layer and then purge it.

Note: With the PURGE command it is possible to delete important information from the drawing. If, for example, a drawing contains a symbol definition, which is not stored on disk but the symbol has not been inserted to the drawing (no references), the PURGE command will delete irretrievably.

When you save a drawing, the program will automatically remove unused internal symbol definitions. These are either erased hatch objects or dimension objects imported from another system.