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

The module SoUndoActions provides the undo/redo operations of an UndoContext (provided by an UndoManager module) as Managed Interaction command actions with default keyboard shortcuts suitable for the platform.

Usage

Put this module into an Open 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.

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.

Parameter Fields

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

If checked, the module enables keyboard shortcuts to activate undo/redo.

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String