SoExecuteCommandAction

InventorModule

genre

Interaction

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoInteractionControllers

definition

SoInteractionControllers.def

see also

SoGenericCommandAction, SoTriggerOffsetAction

keywords

managed, interaction, scheme

Purpose

The module SoExecuteCommandAction allows for executing command actions provided in an Open Inventor scene graph.

Usage

Enter the name of a command action in the Execute field and finish editing to execute the first action with this name.

Alternatively, you can touch the field from scripting, which may be more convenient.

Details

Command actions, along with pointing and offset actions, belong to Managed Interaction nodes, which provide an alternative, higher-level interaction concept compared to pure input events.

You can use the module SoInteractionInfo to query the interactions provided by a scene graph (do not forget to press the Update button).

Windows

Default Panel

../../../Modules/Inventor/SoInteractionControllers/mhelp/Images/Screenshots/SoExecuteCommandAction._default.png

Input Fields

child

name: child, type: SoNode

Connect the scene graph containing the command action to this node.

Output Fields

self

name: self, type: SoNode

You can use this Open Inventor node in other scene graphs; however, remember that, to execute a command action, the providing node must be connected as a child to this node.

Parameter Fields

Visible Fields

Execute

name: executeCommandAction, type: String

Sets the name of a command action.

Names typically follow the scheme ModuleName.actionName.