Select all pathItem.filled “send to back”
Hi everyone, I'm having trouble. I want to make a script for selecting all the paths in the file where the fill color exists and send them to the back (the paths are sometimes within groups)
It prevents the fill color from obscuring text and paths. but the script doesn't work. I don't have found a suitable solution in the community. and I don't know how I can write it more simply.
Best wishes
Maybe you can find some references here:

