RhinoCommon API
GetPointGet Method (Boolean, Boolean) |
After setting up options and so on, call this method to get a 2d or 3d point.
Namespace: Rhino.Input.Custom
Assembly: RhinoCommon (in RhinoCommon.dll)

public GetResult Get( bool onMouseUp, bool get2DPoint )
Public Function Get ( onMouseUp As Boolean, get2DPoint As Boolean ) As GetResult
Parameters
- onMouseUp
- Type: SystemBoolean
If false, the point is returned when the left mouse button goes down. If true, the point is returned when the left mouse button goes up. - get2DPoint
- Type: SystemBoolean
If true then get a 2d point otherwise get a 2d point
Return Value
Type: GetResultPoint if the user chose a 3d point; Point2d if the user chose a 2d point; other enumeration value otherwise.

Rhino for Windows
Supported in: 6.14