Std Undo/it: Difference between revisions

From FreeCAD Documentation
(Created page with "==Opzioni==")
(Created page with "==Preferenze==")
Line 33: Line 33:
* 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.
* 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.


==Preferences==
==Preferenze==


* The Undo/Redo functionality can be disabled by setting {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Document → UsingUndo}} to {{FALSE}}, but this is not recommended. This setting can also be changed in the [[Preferences_Editor#Document|Preferences Editor]].
* The Undo/Redo functionality can be disabled by setting {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Document → UsingUndo}} to {{FALSE}}, but this is not recommended. This setting can also be changed in the [[Preferences_Editor#Document|Preferences Editor]].

Revision as of 20:34, 18 April 2020

Annulla

Posizione nel menu
Modifica → Annulla
Ambiente
Tutti
Avvio veloce
Ctrl+Z
Introdotto nella versione
-
Vedere anche
Ripristina

Descrizione

The Std Undo command undoes the last action.

Utilizzo

Cliccare su o scegliere Modifica → Annulla dal menu principale.

Opzioni

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

Preferenze

  • 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()