RhinoCommon API
GetPointAddSnapPoints Method |
Adds points to the list of osnap points.
Namespace: Rhino.Input.Custom
Assembly: RhinoCommon (in RhinoCommon.dll)

public int AddSnapPoints( Point3d[] points )
Public Function AddSnapPoints ( points As Point3d() ) As Integer
Parameters
- points
- Type: Rhino.GeometryPoint3d
An array of points to snap onto.
Return Value
Type: Int32Total number of snap points.

When point osnap is enabled, GetPoint will snap to points in the Rhino model.
If you want the user to be able to snap to additional points, then use
GetPoint::AddSnapPoints to specify the locations of these additional points.

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