SelectObjectGrip

Selects a single grip owned by an object. If the object's grips are not turned on, grips will  not be selected.

Syntax

Rhino.SelectObjectGrip (strObject, intIndex)

Parameters

strObject

Required.  String.  The identifier of the object.

intIndex

Required. Number. The zero-based grip index to select.

Returns

Boolean

True or False indicating success or failure.

Null

If not successful, or on error.

Example

Dim strObject, intCount, i

strObject = Rhino.GetObject("Select curve", 4)

If Not IsNull(strObject) Then

Rhino.EnableObjectGrips strObject

intCount = Rhino.ObjectGripCount(strObject)

For i = 0 to intCount Step 2

Rhino.SelectObjectGrip strObject, i

Next

End If

Also See

EnableObjectGrips

ObjectGripCount

SelectObjectGrips