-PURGE — Purge (command line)
Purges unused items from the command line.
- Command:
-PURGE· Global name:_-PURGE· Alias:-PU
Command-line version of PURGE: removes the unused items of one type, by name and optionally confirming each one. It is the way to purge from a script (SCRIPT).
Usage
- Enter -PURGE (or -PU).
- Choose the type of items.
Enter type of unused objects to purge [Blocks/Dimstyles/LAyers/LTypes/MUltileaderstyles/Plotstyles/textSTyles/SHapes/Mlinestyles/Tablestyles/Regapps/Zero-length geometry/Empty text objects/All]:
- Enter the names you want to purge. The wildcards
*(any text) and?(one character) and several patterns separated by commas are accepted; Enter purges all items of the type.
Enter name(s) to purge <*>:
- Say whether you want to confirm each item. With Yes, the program asks about each one; with No, it removes them all.
Verify each name to be purged? [Yes/No] <Y>: Purge … "…"? [Yes/No] <N>:
Options
| Option | Type |
|---|---|
| Blocks (B) | Blocks |
| LAyers (LA) | Layers |
| LTypes (LT) | Linetypes |
| textSTyles (ST) | Text styles |
| SHapes (SH) | Shapes |
| Dimstyles (D) | Dimension styles |
| MUltileaderstyles (MU) | Multileader styles |
| Tablestyles (T) | Table styles |
| Mlinestyles (M) | Multiline styles |
| Plotstyles (P) | Plot styles |
| Regapps (R) | Registered applications |
| Zero-length (Z) | Zero-length geometry |
| Empty (E) | Empty text objects |
| All (A) | All named types |
Notes
- Zero-length and Empty ask for no names and no confirmation: they remove everything they find.
- All does not include zero-length geometry or empty text, and also purges nested items (what becomes unused when others are removed).
- The same safety rules as in PURGE apply. The result is undone with UNDO.