- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I ran into something illogical trying to ssget anonymous (unnamed) blocks.
You can entmake anonymous blocks. Just use the name "*U" and AutoCAD will add a numeric end to the name, as in "*U65."
One would think that you could select them with (ssget "X" '((0 . "INSERT")(2 . "*U*"))), just like...
Command: (wcmatch "*U*" "*U*") T
But NO. You must precede the first asterisk with a reverse quote ` for the filter to work, as in (ssget "X" '((0 . "INSERT")(2 . "`*U*"))).
I mean, once you know that, if you can remember it, then fine. But it's still illogical to me.
BTW, years ago I thought that anonymous blocks could not contain attributes. Maybe that was true in R11 or something, but yes they can contain attributes.
John F. Uhden
Solved! Go to Solution.