Click or drag to resize

RhinoGetGetMultipleObjects Method (String, Boolean, GetObjectGeometryFilter, ObjRef)

Easy to use object getter for getting multiple objects.

Namespace:  Rhino.Input
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Result GetMultipleObjects(
	string prompt,
	bool acceptNothing,
	GetObjectGeometryFilter filter,
	out ObjRef[] rhObjects
)

Parameters

prompt
Type: SystemString
command prompt.
acceptNothing
Type: SystemBoolean
if true, the user can press enter.
filter
Type: Rhino.Input.CustomGetObjectGeometryFilter
geometry filter to use when getting objects.
rhObjects
Type: Rhino.DocObjectsObjRef
result of the get. may be null.

Return Value

Type: Result
Commands.Result.Success - got object Commands.Result.Nothing - user pressed enter Commands.Result.Cancel - user cancel object getting.
Remarks
If you need options or more advanced user interface, then use GetObject class.
See Also