I have many files with a similar layer structure, but the layer structure is not exactly the same in each of these files.
Each file has layers inside of layers; in other words, nested layers. One of these layers is called "mat outline", but the exact location changes from file to file. Again, it could be a sublayer, or a sublayer of a sublayer. I don't know in advance.
How do I find this layer called "mat outline" in a given file?
I know how to write a nested for-loop that will look at every layer and sublayer down the nested structure, and I can definitely find it. But isn't there an easier way?
Can I write "layers.layers" and get an object that is all sublayers of all layers?
If there is no other way, then I will proceed writing nested for-loops. I just want to be sure I'm not doing unncessary work.