Std Annuler

From FreeCAD Documentation
Revision as of 21:47, 23 March 2020 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Std Annuler

Emplacement du menu
Edition → Annuler
Ateliers
Tous
Raccourci par défaut
Ctrl+Z
Introduit dans la version
-
Voir aussi
Rétablir

Description

Undoes exactly one action.

The Std Undo command undoes the last action.

Utilisation

Cliquez sur ou faire Edition → Annuler dans le menu principal.

Options

  • To undo multiple actions click on the black down arrow to the right of the Std Undo button and select from the list.

Preferences

  • The Undo/Redo functionality can be disabled by setting Tools → Edit parameters... → BaseApp → Preferences → Document → UsingUndo to false. This setting can also be changed in the Preferences Editor.
  • The maximum number of Undo/Redo steps is controlled by Tools → Edit parameters... → BaseApp → Preferences → Document → MaxUndoSize. This setting can also be changed in the Preferences Editor.

Scripting

See also: FreeCAD Scripting Basics.

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

import FreeCAD

FreeCAD.ActiveDocument.undo()