System.Object
Eplan.EplApi.DataModel.UndoStep
System.Object
Eplan.EplApi.DataModel.UndoStep
using (UndoStep undo = new UndoManager().CreateUndoStep()) { SelectionSet oSS = new SelectionSet(); Function f = oSS.Selection[0] as Function; f.Properties.FUNC_CUSTOM_SUPPLEMENTARYFIELD01 = "new value"; // ... code ... // // and if needed DoUndo call// undo.DoUndo(); }
Name | Description | |
---|---|---|
CloseOpenUndo | Close and open Undo protocol. Call this method to mark step in Undo action list. | |
CloseUndo | Close Undo protocol. After call this method Undo action is not possible. | |
Dispose | Virtual deterministic destructor. | |
DoUndo | Overloaded. Make Undo action - reverse all operations up to last CloseOpenUndo call or initalization of UndoStep object. | |
SetUndoDescription | Set description of Undo action. |