Copy link to clipboard
Copied
I have a script that adds a new parent layer and organises pageItems in sublayers. I wish for the view of the new layers to be collapsed rather than expanded and only show the parent layer. Thanks.
If we create sublayers manually, they are not collapsed either. And this cannot be adjusted by any option. Therefore, scripts don't have access to collapse the layer tree either.
Copy link to clipboard
Copied
If we create sublayers manually, they are not collapsed either. And this cannot be adjusted by any option. Therefore, scripts don't have access to collapse the layer tree either.
Copy link to clipboard
Copied
I figured as much .. thanks for the confirmation.
As a workaround I will figure out a way to create groups of the pathItems using RegExp search pattern matches instead of placing them inside sublayers.