Possible results from GetObject.Get(), GetPoint.Get(), etc...

Namespace: Rhino.Input
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.12 (5.0.20693.0)

Syntax

C#
public enum GetResult
Visual Basic
Public Enumeration GetResult

Members

Member nameValueDescription
NoResult0
Cancel1User wants to cancel current command.
Nothing2User pressed enter - typically used to accept defaults.
Option3User specified an option - call Option() to get option index.
Number4User entered a real number - call Number() to get value.
Color5User entered a color - call Color() to get value.
Undo6User pressed undo.
Miss7User clicked and missed.
Point8User picked 3d point - call Point() to get 3d point.
Point2d9 User picked 2d window point in CRhinoGetPoint::Get2dPoint() call ON_2dPoint() to get the point and View() to get the view.
Line2d10 User picked a 2d line in CRhinoGetPoint::Get2dLine() call Line2d() to get the line and View() to get the view.
Rectangle2d11 User picked a 2d rectangle in CRhinoGetPoint::Get2dRectangle() call Rectangle2d() to get the rectangle and View() to get the view.
Object12User selected an object - call Object() to get object.
String13User typed a string - call String() to get the string.
CustomMessage14 A custom message was posted to the RhinoGet
Timeout15 The getter waited for the amount of time specifed in RhinoGet::SetWaitDuration() and then gave up.
Circle16call CRhinoGetCircle::GetCircle() to get the circle.
Plane17call CRhinoGetPlane::GetPlane() to get the plane.
Cylinder18call CRhinoGetCylinder::GetCylinder() to get the cylinder.
Sphere19call CRhinoGetSphere::GetSphere() to get the sphere.
Angle20call CRhinoGetAngle::Angle() to get the angle in radians (CRhinoGetAngle() returns this for typed number, too).
Distance21call CRhinoGetDistance::Distance() to get the distance value.
Direction22call CRhinoGetDirection::Direction() to get the direction vector.
Frame23call CRhinoGetFrame::Frame() to get the frame that was picked.
User14294967295
User24294967294
User34294967293
User44294967292
User54294967291
ExitRhino268435455Stop now, do not cleaup, just return ASAP.

See Also