cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Selecting layer elements

thendricks
3-Visitor

Selecting layer elements

I have a need to select all elements on a layer specified layer. Any suggestions? So far I have contemplated looping through all layers not needed, locking them, and then selecting all to grab the elements. This is getting a little confusing though. I've started looking at using the activedoc.layers[i].firstchild and nextsibling commands but this again seems to be excessive. Any input would be appreciated.
1 REPLY 1

Trevor - don't know if you've seen this yet, but here is an answer from another post: Change the layer you want to select all elements in to the active layer, then click on the button with the eye symbol in the layer window. This makes all other layers at once invisible (except for the background layer). Then you can press CTRL+a and all elements and objects on this particular layer are selected. Personally, I would prefer to have 'layer' as a choice in the 'select by' function, but this gets the job done.
Announcements