SoUndoActions¶
-
InventorModule
¶ genre Interaction
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoInteractionControllers
definition SoInteractionControllers.def see also UndoManager
keywords keyboard
,shortcut
,undo
,redo
Purpose¶
This module provides the undo/redo operations of an UndoContext (provided by an UndoManager
module) as ManagedInteraction command actions with default keyboard shortcuts suitable for the platform.
Usage¶
Put this module into an Inventor scene and connect its input with an UndoManager
module managing the undo steps for this scene.
Details¶
The default keyboard shortcut for undo is Ctrl-Z for all platforms. The default keyboard shortcut for redo is Shift-Ctrl-Z for Linux and Ctrl-Y for all other platforms. For Mac the Command key is used instead of the Control key.
The default keyboard shortcuts can be overridden with the SoInteractionMapping
module.
Input Fields¶
inUndoContext¶
-
name:
inUndoContext
, type:
UndoContext(MLBase)
¶ Connect this with the
UndoManager
managing the undo steps.For accessing this object via scripting see the Scripting Reference:MLUndoContextWrapper
.