Prompts the user to pick or select a single object grip.
Rhino.GetObjectGrip (strMessage [, blnPreSelect [, blnSelect]]])
strMessage |
Optional. String. A prompt or message. |
blnPreSelect |
Optional. Boolean. Allow for the selection of a pre-selected object grip. If omitted, pre-selected object grips are not accepted (False). |
blnSelect |
Optional. Boolean. Select the picked object grip. If omitted, the object grip that is picked is not selected (False). |
Array |
A one-dimensional array containing the following three elements if successful:
|
||||||||||||
Null |
If not successful, or on error. |
Dim strCurve, arrGrip,
strCurve = Rhino.GetObject("Select a curve", 4)
If Not IsNull(strCurve) Then
Rhino.EnableObjectGrips strCurve
arrGrip = Rhino.GetObjectGrip("Select a curve grip")
If IsArray(arrGrip) Then
Rhino.Print Rhino.Pt2Str(arrGrip(2))
End If
End If