Layer.HasPerViewportSettings Method

LayerHasPerViewportSettings Method

Verifies that a layer has per viewport settings.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: Boolean
True if the layer has per viewport settings, false otherwise.
Version Information

Rhino for Windows

Supported in: 6.8
See Also