Click or drag to resize

GetBaseClassSetDefaultPoint Method

Sets a point as default value that will be returned if the user presses the ENTER key during the get.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void SetDefaultPoint(
	Point3d point
)

Parameters

point
Type: Rhino.GeometryPoint3d
value for default point.
Remarks
Calling SetDefaultPoint will automatically handle setting the command prompt default and reacting to the user pressing ENTER. If the user presses enter to accept the default point, GetResult.Point is returned and RhinoGet.GotDefault() will return true. Calling SetDefaultPoint will clear any previous calls to SetDefaultString or SetDefaultNumber.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also