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
Syntaxpublic bool SetCurrentUndoRecordDescription(
string description
)
Public Function SetCurrentUndoRecordDescription (
description As String
) As Boolean
Parameters
- description
- Type: SystemString
The new description. Cannot be null, empty, or only white space.
Return Value
Type:
Booleantrue if an undo record is active and its description was set.
See Also