ClippingPlaneObject.AddClipViewport Method

ClippingPlaneObjectAddClipViewport Method

Adds a viewport to the list of viewports that this clipping plane clips.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool AddClipViewport(
	RhinoViewport viewport,
	bool commit
)
Public Function AddClipViewport ( 
	viewport As RhinoViewport,
	commit As Boolean
) As Boolean

Parameters

viewport
Type: Rhino.DisplayRhinoViewport
The viewport to add.
commit
Type: SystemBoolean
Commit the change. When in doubt, set this parameter to true.

Return Value

Type: Boolean
true if the viewport was added, false if the viewport is already in the list.
Version Information

Rhino for Windows

Supported in: 6.8
See Also