Click or drag to resize

RhinoObjectIsActiveInViewport Method

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.DisplayRhinoViewport

[Missing <param name="viewport"/> documentation for "M:Rhino.DocObjects.RhinoObject.IsActiveInViewport(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.
See Also