Std Undo/fr: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "* Pour annuler plusieurs actions, cliquez sur la flèche noire vers le bas à droite du bouton {{Button|16px Std Annuler}} et sélectio...")
Line 32: Line 32:
==Options==
==Options==


* To undo multiple actions click on the black down arrow to the right of the {{Button|[[Image:Std_Undo.svg|16px]] [[Std_Undo|Std Undo]]}} button and select from the list.
* Pour annuler plusieurs actions, cliquez sur la flèche noire vers le bas à droite du bouton {{Button|[[Image:Std_Undo.svg|16px]] [[Std_Undo/fr|Std Annuler]]}} et sélectionnez dans la liste.


==Preferences==
==Preferences==

Revision as of 13:44, 17 April 2020

Std Annuler

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

Description

La commande Std Annuler annule la dernière action.

Utilisation

  1. Il existe plusieurs façons d'appeler la commande:
    • Appuyez sur le bouton Std Annuler.
    • Sélectionnez l'option Edition → Annuler dans le menu.
    • Utilisez le raccourci clavier: Ctrl+Z.

Options

  • Pour annuler plusieurs actions, cliquez sur la flèche noire vers le bas à droite du bouton Std Annuler et sélectionnez dans la liste.

Preferences

  • The Undo/Redo functionality can be disabled by setting Tools → Edit parameters... → BaseApp → Preferences → Document → UsingUndo to false, 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 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()