Click or drag to resize

RhinoGetGetViewports Method

Easy to use getter for selecting multiple viewports.

Namespace:  Rhino.Input
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Result GetViewports(
	string commandPrompt,
	out RhinoViewport[] viewports
)

Parameters

commandPrompt
Type: SystemString
Prompt to display in command line during the operation.
viewports
Type: Rhino.DisplayRhinoViewport
An array of /selected Viewports.

Return Value

Type: Result
Commands.Result.Success - got point Commands.Result.Cancel - user cancel point getting.
See Also