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.
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.