Purge
Removes the layers, text styles, dimension styles, leader styles and line types that nothing in the project uses.
Purge unused
Opens the Purge unused window with a list of everything the project holds unused. Each item has a tick; Purge removes the ticked ones in one undo step.
Where to find it
Tools tab → Check group → Purge unused (Purge unused).
How to
- Click Purge unused. The list shows what is unused. New items start ticked.
- Untick what you want to keep, or use Untick all and tick only some.
- Click Purge. The ticked things are removed and the summary shows Purged: N. If you change your mind, Ctrl+Z brings them back.
The window stays open and follows the project: the list refreshes when the project changes, and items you unticked stay unticked.
The list
| Column | Meaning |
|---|---|
| (tick) | Whether the item will be purged |
| Category | What kind of thing it is: layer, text style, dimension style, leader style or line type |
| Name | The name of the item |
| Includes | For a layer with nested layers: with N nested layers |
Buttons
| Button | What it does |
|---|---|
| Tick all | Ticks every item |
| Untick all | Unticks every item |
| Purge | Removes the ticked items. Disabled while nothing is ticked |
| Close | Closes the window |
What counts as unused
| Kind | Unused when |
|---|---|
| Layer | No object is on it or on a layer nested under it. The default layer and the layer new objects are drawn on (the active layer) are never listed |
| Text style | No text, multiline text or leader label follows it. The default style and the current style are never listed |
| Dimension style | No dimension follows it. The default and the current style are never listed |
| Leader style | No leader follows it. The default and the current style are never listed |
| Line type | No object has it as its own line type, no layer or saved layer state uses it, and it is not the line type new objects start with |
A layer takes its nested layers with it when it is purged. Things in use are checked again when you click Purge, so something that came into use after the list was drawn stays.
If something goes wrong
| Message | What to do |
|---|---|
| There is nothing unused to purge. | The project is already clean |
| Tick what to purge. | Tick at least one item to enable Purge |