Std Redo: Difference between revisions

From FreeCAD Documentation
("See also" must be at and of code block)
(Undo revision 935936 by Evgeniy (talk))
Tag: Undo
Line 30: Line 30:
<!--T:6-->
<!--T:6-->
# There are several ways to invoke the command:
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Std_Redo.svg|16px]] [[Std_Redo|Std Redo]]}} button on toolbar.
#* Press the {{Button|[[Image:Std_Redo.svg|16px]] [[Std_Redo|Std Redo]]}} button.
#* Select the {{MenuCommand|Edit → [[Image:Std_Redo.svg|16px]] Redo}} option from the menu.
#* Select the {{MenuCommand|Edit → [[Image:Std_Redo.svg|16px]] Redo}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|Y}}.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|Y}}.

Revision as of 07:31, 11 August 2021

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

To redo an action that has just been undone use the redo method of the document object.

import FreeCAD

FreeCAD.ActiveDocument.redo()

See also: FreeCAD Scripting Basics.