Click or drag to resize

GetBaseClassAcceptString Method

If you want to allow the user to be able to type in a string during GetPoint.Get(), GetObject::GetObjects(), etc., then call AcceptString(true) before calling GetPoint()/GetObject(). If the user chooses to type in a string, then the result code GetResult.String is returned and you can use RhinoGet.String() to get the value of the string.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void AcceptString(
	bool enable
)

Parameters

enable
Type: SystemBoolean
true if user is able to type a string.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.10
See Also