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)
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also