[RhinoCommon] Request for Layer.PersistentVisiblity

(Menno Deij - van Rijswijk) #1

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.

(Steve Baer) #2

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.

(Menno Deij - van Rijswijk) #3

Thanks, that is great. Can’t wait to get my hands on it :smiley: