Hi,
I noticed that when I do the following:
- 1 draw a detailview
- 2 swich off per viewport visibility for a layer in that detailview
- 3 delete the detailview
The property “HasPerViewportSettings” of the layer is still set to true, even after re-opening the document.
The property “HasPerViewportSettings” is set back to false only if I run the rhinocommand method " DeletePerViewportVisible"
This is an issue when dealing with files that have many layers and many viewports, because it does slow down significantly the edition of PerViewportSettings.
I wonder why rhino does not automatically “DeletePerViewportVisible” whenever a detailview is deleted by a user.
@Rhino can you fix it or explain me where I am wrong?
Thanks!
https://developer.rhino3d.com/api/rhinocommon/rhino.docobjects.layer/hasperviewportsettings
https://developer.rhino3d.com/api/rhinocommon/rhino.docobjects.layer/deleteperviewportvisible