Click or drag to resize

RhinoDocBeginUndoRecord Method

Instructs Rhino to begin recording undo information when the document is changed outside of a command. We use this, e.g., to save changes caused by the modeless layer or object properties dialogs when commands are not running.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public uint BeginUndoRecord(
	string description
)

Parameters

description
Type: SystemString
A text describing the record.

Return Value

Type: UInt32
Serial number of record. Returns 0 if record is not started because undo information is already being recorded or undo is disabled.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also