M_Rhino_RhinoDoc_BeginUndoRecord - mcneel/rhinocommon-api-docs GitHub Wiki
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) Version: Rhino 6.0
C#
public uint BeginUndoRecord(
string description
)
VB
Public Function BeginUndoRecord (
description As String
) As UInteger
- description
- Type: System.String
A text describing the record.
Type: UInt32
Serial number of record. Returns 0 if record is not started because undo information is already being recorded or undo is disabled.
Supported in: 5D58w