UnselectObjectGrip

Unselects a single grip owned by an object.

Syntax

Rhino.UnselectObjectGrip (strObject, intIndex)

Parameters

strObject

Required.  String.  The identifier of the object.

intIndex

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

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.UnselectObjectGrip strObject, i

Next

End If

Also See

EnableObjectGrips

ObjectGripCount

UnselectObjectGrips