Per-viewport layer visibility question

Hi Dale

layer.SetPerViewportVisible

I found that in Rhino7, the layers visibility is not fully turned off for a child layer.
image

Is there a way to make it off like this:
image

@egdivad - I’m moved your qustion/comment to a new thread.

Hi

Here is an issues I keep on having in Rhino, I thought it was fixed in Rhino 7 but it just keeps on happening, even after multiple reports

The issue is when using HideLayerInDetail (commandline) or `SetPerViewportVisible (RhinoCommon), the child layers are not fully turned off

this is a problem when the detail view is copied, because all the layers that are meant to be hidden is then turned back on (maybe because they are not fully turned off in the original detail view)

Rhino file is attached. Hopefully someone can have a look into it and maybe fix it.

HideLayerInDetail.3dm (55.8 KB)

Hi @egdivad,

Yes, we know about this.

https://mcneel.myjetbrains.com/youtrack/issue/RH-65079

I’m hoping to have time to fix this soon.

– Dale

Thanks Dale, good to know it’s still getting looked into. Looking forward to seeing it working. Cheers