This probably a dumb *** question since I've been using AutoCad for 10 fricken years...
Is there any way to select items per layer? This seems like a pretty basic question but I don't know how to do it.
|
This probably a dumb *** question since I've been using AutoCad for 10 fricken years...
Is there any way to select items per layer? This seems like a pretty basic question but I don't know how to do it.
If you have Express tools, try Getsel ('getsel for use transparently).
or layer isolate then select all. it will select everything, but only the isolated layer will be unlocked.
or do a search for a lisp routine SelectSimilar (selsim), which is based off of a command available in some vertical products. You can select an entity, then choose to selectsimilar, which will add all similar entities to your selection set (of course, this will only work if you have one entity type per layer, or select multiple entity types before running the command).
I have added it to my right-click menu and it's great for making selection sets on the fly without using the QSELECT dialog box (which I love, I just don't always want to muck about with).
Melanie Stone
@MistresDorkness
Archibus, FMS/FMInteract and AutoCAD Expert (I use BricsCAD, Revit, Tandem, and Planon, too)
Technical Editornot all those who wander are lost
odd thought - how about LayDel (later delete) followed by Oops ?
Forget it. Doesn't work.
As a LISPer from way back who is always leaping between releases, I usually type in something like this at the Select objects prompt:
(ssget "X" '((8 . "layername")))
Alternatively, the 20-year-old SSX routine is still there in 2009. It's really just a command-line front for the (ssget) function. To use it, enter SSX at the Command prompt, Enter past the first prompt, then follow your nose from there to select things by layer, etc. For example:
SSX [Enter] [Enter] LA [Enter] layername [Enter] [Enter]
The objects can then be operated on by using an editing command and entering P (for Previous) at the Select objects prompt.
You can enter 'SSX (note the leading single quote) directly at the Select objects prompt, but then you still need to enter P once SSX is finished (although this has changed over the years) and the command sequence gets a bit confusing.