This may be a resolved issue that has been resurrected when updating layer view state through the LayerTable. I converted the script discussed here into a compiled RhinoCommon plugin executed synchronously to demonstrate the issue.
layerStateTest.3dm (60.0 KB)
When Nested Layers Are Visible
Setting a nested layer visibility to off incorrectly sets the state to ‘half lite’:
![]()
- Test 1 & 2: Root layers update correctly.
- Test 3: Setting
layer.IsVisible = falseon nested layers incorrectly sets them to a ‘half lite’ state. - Test 4: You can click the ‘half lite’ icon and actually turn it off.
- Test 5: Nested2 is correctly set to ‘half lite’ before this test. Turning it off programmatically does nothing.
- Test 6: It’s more than a visual quirk.
Nested2should be off, but it acts like a ‘half lite’ layer. When its parent (Nested1A) is turned on,Nested2also turns on.

When Nested Layers Are Collapsed
this is using the same Test 3 as above, only with the Root layer collapsed
- Turn off
Nested1Aprogrammatically. The display updates correctly. - Re-rendering the viewport behaves as expected
- Expanding
Rootreveals thatNested1Ais on.Nested1Ashould be off andNested2should be ‘half lite’. - Re-rendering the viewport spontaneously turns the off layers back on.
