RhinoCommon API
LayerHasPerViewportSettings Method |
Verifies that a layer has per viewport settings.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool HasPerViewportSettings( Guid viewportId )
Public Function HasPerViewportSettings ( viewportId As Guid ) As Boolean
Parameters
- viewportId
- Type: SystemGuid
If not Guid.Empty, then checks for settings for that specific viewport. If Guid.Empty, then checks for any viewport settings.
Return Value
Type: BooleanTrue if the layer has per viewport settings, false otherwise.

Rhino for Windows
Supported in: 6.8