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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also