Is there a way to create a button that has Quick Select (_qselect) select a particular layer without my input? I am not sure of the commands that are used in the dialog box.
Is there a way to create a button that has Quick Select (_qselect) select a particular layer without my input? I am not sure of the commands that are used in the dialog box.
Hi
How is the Layer to be selected to be determined?
Have you looked at the Express Tools command SSX or something like the AutoLISP function (ssget) ?
Have a good one, Mike
I guess I should have gotten into a little more detail. Here is what I want to have happen:
I have hundreds of drawings I have to modify.
They all have the same layers, so I know what layers I want modified.
Some of the layers just need to be set to a particular color vs. using the layer color.
And several layers I need to select all objects on the layer and move them over 400 units.
The drawings are always the same (with variations on positions and numbering) with regards to the properties I want to change.
So I was hoping to be able to create a button to use Quick Select to select, then move or change color properties. That reminds me, how would one change color properties in a macro?
Hi
Either look at creating a LISP routine to accomplish the task or command macro's ( eg Script file(s) ).
If you go the command route, take a look at commands like...
_.Change
_.-Layer
SSX or (ssget) will help you build a selection set.
Have a good one, Mike
Hello,
Here is "Quick Select" routine I started writing a while back. It will allow to you "quick select" by Block Name, Layer Name, or object Color. You can either specify the property by selecting an object or entering a list of Block Names, Layer Names, etc.. It will also allow you to select "ALL" or just specify a certain area to select from. I had planned on adding more property options and to clean up the code a little, but I haven't had the time and this has worked for now. As is you could use the Layer and List options to make the button you were requesting. When specifying a list the list format should be as follows:
LayerName,LayerName,LayerName......or
BlockName,BlockName,BlockName......or
#,#,#,#,#.........for color numbers
The command is QUICKSELECT. Any questions just let me know.
Ty![]()
Thanks, I'll give it a try.