I created a custom plugin to hide/unhide nested objects on selected pages. I select groups / components and run the plugin which loops the pages and hides the selected object(s) on the pages you selected in the dialog.
the selection in the code is created by: sel = model.selection
Problem with the new SU2020 is; sel looses reference to an object (reset to 0 if only selected one at the start) if the layer the selected object on is hidden on a page.
So my question is: how can I keep reference to a hidden nested object ?
Pre 2020 it worked fine.