As far as I can find out it is impossible to get the “fully blue lamp icon” on a child layer from code. When switching from Visible = true to Visible = false on a child layer, its icon becomes the “half blue|half yellow lamp icon”.
Reading the openNURBS docs re layers there is in C++ the PersistentVisibility to affect this. It would be nice if this property is also accessible from RhinoCommon.
Hi Menno,
i added functions to the Layer class for getting and setting persistent visibility and locking. These will be available in SR6 which I hope we can get a release candidate out for very soon.