Gets the per layer persistent visibility. The persistent visbility setting is used for layers whose visibilty can be changed by a parent layer.
In this case, when a parent layer is turned off, then child layers are also turned off.
The persistent visibility setting determines what happens when the parent is turned on again.
RhinoCommon (in RhinoCommon.dll)
public bool PerViewportPersistentVisibility(
Public Function PerViewportPersistentVisibility (
viewportId As Guid
) As Boolean
- Type: SystemGuid
[Missing <param name="viewportId"/> documentation for "M:Rhino.DocObjects.Layer.PerViewportPersistentVisibility(System.Guid)"]
Return true if this layer's visibility in the specified viewport is controlled by a parent object and the parent is turned on (after being off),
then this layer will also be turned on in the specified viewport.
Returns false if this layer's visibility in the specified viewport is controlled by a parent object and the parent layer is turned on(after being off),
then this layer will continue to be off in the specified viewport.
Rhino for WindowsSupported in: 6.27