RhinoCommon API
LayerPerViewportIsVisible Method |
Gets the per viewport visibility of this layer.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool PerViewportIsVisible( Guid viewportId )
Public Function PerViewportIsVisible ( viewportId As Guid ) As Boolean
Parameters
- viewportId
- Type: SystemGuid
If not Guid.Empty, then the visibility setting for that viewport is returned. If Guid.Empty, the IsVisible property is returned.
Return Value
Type: BooleanReturns true if objects on layer are visible.

Rhino for Windows
Supported in: 6.14