Is there a way to retrieve the layer numbers of all layers containing object data? I can get the quantity of layers, but a lot of the objects I am dealing with have empty layers inbetween data layers.
I am trying to push all object layers containing data into the foreground, basically clicking the "F" in the Layers window. The way that I am going about it is pretty in-elegant and likely bloated.
save this code as AllFGLayers.ls and bind to a key, done.
not sure you wanted this as a complete shortcut .ls file, but the function that returns an array with all layers containing data is lyrdata() .
no problem, always nice to see folks working on LW pipelines.