Skip to content

RhinoObject.IsActiveInViewport

Public Class

Determine if this object is active in a particular viewport.

Namespace: Rhino.DocObjects

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**5.0

Syntax

public virtual bool IsActiveInViewport(
RhinoViewport viewport
)

Parameters

viewport

Type: Rhino.Display.RhinoViewport

Return Value

Type:Boolean
True if the object is active in viewport

Remarks

The default implementation tests for space and viewport id. This handles things like testing if a page space object is visible in a modeling view.