RhinoCommon API
RhinoGetGetMultipleObjects Method (String, Boolean, GetObjectGeometryFilter, ObjRef) |
Easy to use object getter for getting multiple objects.
Namespace: Rhino.Input
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Result GetMultipleObjects( string prompt, bool acceptNothing, GetObjectGeometryFilter filter, out ObjRef[] rhObjects )
Public Shared Function GetMultipleObjects ( prompt As String, acceptNothing As Boolean, filter As GetObjectGeometryFilter, <OutAttribute> ByRef rhObjects As ObjRef() ) As Result
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: ResultCommands.Result.Success - got object Commands.Result.Nothing - user pressed enter Commands.Result.Cancel - user cancel object getting.

If you need options or more advanced user interface, then use GetObject class.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14