Per Detail Layout Settings Misbehaving

I use per detail layer visibilites extensibly in my drawings. In Rhino 6.2 sometimes when I return to layouts or reopen a file, some of the layers I’d turned off in details have turned back on. This is incredibly frustrating in files with lots of layouts that have very specific layer visibility settings. I can’t figure out what is causing it.

I wrote two scripts
ShowLayerInLayoutDetails.py (1.2 KB)
HideLayerInLayoutDetails.py (1.2 KB)

to speed up fixing the details, I hope that they aren’t making the situation worse.

-Alasdair

Also, sometimes I’ll rehide a layer on one of the details that has the issue. This then seems to fix the rest of the details on that page… but not always… Its very unpredictable