Explode All Anonymous Blocks (EXPLODEANON)
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | EXPLODEANON |
|---|---|
| Category | Cleanup and Files |
| Author | Jared Tweddle |
| Source | jtweddle89/CAD-Lisps |
| License | MIT |
| Requirements | AutoCAD (including LT 2024 and later). It relies on the undocumented QAFLAGS variable, so behavior in other CAD programs may differ. |
| Prompt language | English |
| Files | ExplodeAnon.LSP (2 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
Finds every anonymous block reference in the drawing (names starting with *U) and explodes them all at once, for cleanup or before exporting.
EXPLODEANON is a short cleanup command shared by Jared Tweddle. Instead of finding and exploding unnamed (*U) blocks one by one, often left behind by exports from other programs or by copy and paste, it breaks them all up in one go.
Overview
The command selects every INSERT whose name starts with *U and passes them to EXPLODE. To make EXPLODE accept the whole selection set at once, QAFLAGS is set to 5 temporarily and restored afterwards. It asks for no input.
How to use it
- Save the drawing or work on a copy.
- Load ExplodeAnon.LSP with APPLOAD.
- Type EXPLODEANON at the command line; the anonymous blocks are exploded immediately.
Notes and limitations
- This is destructive: references to dynamic blocks whose properties were changed also carry *U names, so they are exploded too and lose their dynamic behavior. Undo with U.
- The selection covers the whole drawing, but EXPLODE only processes objects in the current space (model or the active layout).
- If an error interrupts the command, QAFLAGS may be left at 5; set it back to 0 by hand in that case.
Source and license
This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.
- ExplodeAnon.LSP (2 KB)
- License text
References
- Source repository: jtweddle89/CAD-Lisps – https://github.com/jtweddle89/CAD-Lisps/tree/7f785940c5767486854504f6846907adef742549
- Author: Jared Tweddle – https://github.com/jtweddle89
- License: MIT – https://github.com/jtweddle89/CAD-Lisps/blob/7f785940c5767486854504f6846907adef742549/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal