Std Undo

Description
The Std Undo command undoes the last action.

Usage

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) * Use the keyboard shortcut: +.

Options

 * To undo multiple actions click on the small black down arrow to the right of the button and select from the list.

Preferences

 * The Undo/Redo functionality can be disabled by setting to, but this is not recommended. This setting can also be changed in the Preferences Editor.
 * The maximum number of Undo/Redo steps is controlled by . This setting can also be changed in the Preferences Editor.

Scripting
FreeCAD Scripting Basics.

To undo the last action use the method of the document object.

Notice that when running FreeCAD in pure console (CLI) mode, undo/redo mechanism isn't enabled by default. It shall be explicitly activated per each document.