Command Entry: -PURGE
← Prev | ↑ Chapter | Next → | Index | Symbols
Command Entry: -PURGE
Name
-PURGE
Aliases
-PU
Synopsis
Removes unused named objects, such as block definitions and layers, from the current drawing using the command line.
Options
Blocks / DEtail view styles / Dimension styles / Groups / LAyers / LineTypes / MAterials / MLine styles / MUltileader styles / Plot styles / Regapps / SEction view styles / SHapes / Table styles / text STyles / Visual styles / Zero-length geometry / Empty text objects / Orphaned data / All / Yes / No / BAtch all
Argument Sequence
Type of unused objects to purge; name(s) to purge (* for all); verify each name to be purged? (Yes/No)
Description
The -PURGE command removes unreferenced named objects from the drawing at the Command prompt. Only one nesting level is removed per invocation, so the command must be repeated until no unreferenced objects remain. It cannot remove unnamed objects from blocks or locked layers. BricsCAD additionally offers a BAtch all mode that purges all unused named and nested entities without prompts.
Category
file
Availability
- AutoCAD, all versions: documented.
- BricsCAD, all versions: documented.
- clautolisp: Not yet implemented: (command …) stops at it, with a "; cador:" notice on the console and no AutoLISP error; the call is recorded on the command log.
Compatibility
AutoCAD all; BricsCAD all.
clautolisp
Not yet implemented: (command …) stops at it, with a "; cador:" notice on the console and no AutoLISP error; the call is recorded on the command log. Support tier: deferred – in scope eventually, not scheduled now.