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)
Since: 5.0
public void SetDefaultPoint(
	Point3d point


Type: Rhino.GeometryPoint3d
value for default point.
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.
See Also