Object Grip Methods

Rhino allows the user to point edit curves, surfaces, and polygon meshes. Such points are controlled by objects called grips. Individual grips are accessed by specifying an zero-based index value. Note, before an object's grips can be queried or manipulated, they must be enabled. The following methods are available for querying or manipulating Rhino grip objects.

 

Method

Description

EnableObjectGrips

Enables or disables an object's editing grips.

GetObjectGrip

Prompts the user to pick a single object grip.

GetObjectGrips

Prompts the user to pick one or more grips from one or more objects.

NextObjectGrip

Returns the index of the next grip of an object.

ObjectGripCount

Returns the number of grips owned by an object.

ObjectGripLocation

Returns or modifies the location of an object's grip.

ObjectGripLocations

Returns or modifies the location of all grips owned by an object.

ObjectGripOwner

Returns the identifier of object that owns a grip object.

ObjectGripsOn

Verifies that an object's grips are turned on and visible.

ObjectGripsSelected

Verifies that at least one object grip is selected.

PrevObjectGrip

Returns the index of the previous grip of an object.

SelectedObjectGrips

Returns the indices of the selected grips of an object.

SelectObjectGrip

Selects an object's grip.

SelectObjectGrips

Selects all grips owned by an object.

UnselectObjectGrip

Unselects an object's grip.

UnselectObjectGrips

Unselects all grips owned by an object.