Std Redo: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
(3 intermediate revisions by 3 users not shown)
Line 34: Line 34:
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|Y}}.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|Y}}.


==Options==
==Options== <!--T:14-->


<!--T:15-->
* To redo multiple actions click on the black down arrow to the right of the {{Button|[[Image:Std_Redo.svg|16px]] [[Std_Redo|Std Redo]]}} button and select from the list.
* To redo multiple actions click on the black down arrow to the right of the {{Button|[[Image:Std_Redo.svg|16px]] [[Std_Redo|Std Redo]]}} button and select from the list.


==Preferences==
==Preferences== <!--T:16-->


<!--T:17-->
* The Undo/Redo functionality can be disabled by setting {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Document → UsingUndo}} to {{FALSE}}. 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]].
* The maximum number of Undo/Redo steps is controlled by {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Document → MaxUndoSize}}. This setting can also be changed in the [[Preferences_Editor#Document|Preferences Editor]].
* The maximum number of Undo/Redo steps is controlled by {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Document → MaxUndoSize}}. This setting can also be changed in the [[Preferences_Editor#Document|Preferences Editor]].


==Scripting==
==Scripting== <!--T:18-->


<!--T:19-->
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:20-->
To redo an action that has just been undone use the {{incode|redo}} method of the document object.
To redo an action that has just been undone use the {{incode|redo}} method of the document object.



Revision as of 20:22, 19 June 2020

Std Redo

Menu location
Edit → Redo
Workbenches
All
Default shortcut
Ctrl+Y
Introduced in version
-
See also
Std Undo

Description

The Std Redo command reverses the action of the Std Undo command.

Usage

  1. There are several ways to invoke the command:
    • Press the Std Redo button.
    • Select the Edit → Redo option from the menu.
    • Use the keyboard shortcut: Ctrl+Y.

Options

  • To redo multiple actions click on the black down arrow to the right of the Std Redo 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, 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 redo an action that has just been undone use the redo method of the document object.

import FreeCAD

FreeCAD.ActiveDocument.redo()