Click or drag to resize

RhinoDocSetCurrentUndoRecordDescription Method

Sets the description of the undo record currently being recorded. Use this to give the undo record of a running command, such as RunPythonScript, a meaningful name in Undo, Redo, and UndoMultiple.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public bool SetCurrentUndoRecordDescription(
	string description
)

Parameters

description
Type: SystemString
The new description. Cannot be null, empty, or only white space.

Return Value

Type: Boolean
true if an undo record is active and its description was set.
See Also