Can we select by layer?
-
I hope this is a doh! moment, but is there a way to simply select everything on a given layer?
-
Not with native SU tools, but with Didier's Layer manager, it's possible.
Try [Select/Deselect layer content] tool of Layer manager. -
Perhaps I don't understand the question, but why can't you simply turn off the layers you do not want to see, then work with whats left? This works unless the entities are part of a component. In that case you edit component, then turn the unaffected layers off.
-
It is built-in. Select an Object on the required Layer. Right-click and in the Context-Menu near the top is Select... Pop this out and there' Select all on Same Layer... All active Objects on that Layer are Selected.
-
@honoluludesktop said:
Perhaps I don't understand the question, but why can't you simply turn off the layers you do not want to see, then work with whats left? This works unless the entities are part of a component. In that case you edit component, then turn the unaffected layers off.
This worked- of course!!!
You can't select by layer unless you're in an active group or component, and all my objects were groups or components. I'll have to give a look at Layer Manager!
Thanks all -
After you have selected all of the objects on the same layer [even if they are in different entities sets], what are you going to do with them ?
assume the model is defined as 'model' and the layer is 'layer'
ss=model.selection
ss.clear
model.entities.each{|e|ss.add e if e.layer==layer}
model.definitions.each{|d|d.entities.each{|e|ss.add e if e.layer==layer}}ALL entities on 'layer' are now 'selected'...
NOW what will you do ?
-
@tig said:
It is built-in. Select an Object on the required Layer. Right-click...
Yes and No, because [Select by right-click context menu] works only on a free single entity (such as an edge or face), not a group or a component. And it goes against the golden rule of SU "all free entities should be in Layer 0".
However, once invoked, the function selects groups and components as well as free entities.
So if you don't mind going over trouble of changing the layer of a free entity for the sake of the function, yes, it could work. -
@troyhome said:
I hope this is a doh! moment, but is there a way to simply select everything on a given layer?
I came to the conclusion i needed such a plugin too
i didn't find anything simple already made
so i made it (in a simple way)
the plugin writes the answer of the prompt in a text file to recall it for the following prompt (some people might not like it)
and it would be much better to have a popup window to choose among the layer you want to select instead of having to type it (but it is complicated and i don't know how to do that)
but, here is the simple plugin
-
@glro said:
I came to the conclusion i needed such a plugin too
i didn't find anything simple already madeLayers Panel does that :
http://sketchucation.com/plugin/751-layers_panel -
@jiminy-billy-bob said:
@glro said:
I came to the conclusion i needed such a plugin too
i didn't find anything simple already madeLayers Panel does that :
http://sketchucation.com/plugin/751-layers_panelyes, i tried
but it doesn't work on my computerbug related to IE v11, it seems...
Advertisement