RhinoCommon API
GripObjectNeighborGrip Method |
Used to get a grip's logical neighbors, like NURBS curve, suface,
and cage control point grips.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public GripObject NeighborGrip( int directionR, int directionS, int directionT, bool wrap )
Public Function NeighborGrip ( directionR As Integer, directionS As Integer, directionT As Integer, wrap As Boolean ) As GripObject
Parameters
- directionR
- Type: SystemInt32
-1 to go back one grip, +1 to move forward one grip. For curves, surfaces and cages, this is the first parameter direction. - directionS
- Type: SystemInt32
-1 to go back one grip, +1 to move forward one grip. For surfaces and cages this is the second parameter direction. - directionT
- Type: SystemInt32
For cages this is the third parameter direction - wrap
- Type: SystemBoolean
[Missing <param name="wrap"/> documentation for "M:Rhino.DocObjects.GripObject.NeighborGrip(System.Int32,System.Int32,System.Int32,System.Boolean)"]
Return Value
Type: GripObjectlogical neighbor or null if the is no logical neighbor

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