DisplayPipeline.NestLevel Property

DisplayPipelineNestLevel Property

Gets the current nested viewport drawing level. This is used to know if you are currently inside the drawing of a nested viewport (detail object in Rhino).

Nest level = 0 Drawing is occuring in a standard Rhino viewport or on the page viewport.

Nest level = 1 Drawing is occuring inside a detail view object.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int NestLevel { get; }
Public ReadOnly Property NestLevel As Integer
	Get

Property Value

Type: Int32
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also