SoExecuteCommandAction

InventorModule
genre Interaction
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoInteractionControllers
definition SoInteractionControllers.def
see also SoGenericCommandAction
keywords managed, interaction, scheme

Purpose

This module allows to execute command actions provided in an OpenInventor scene graph.

Usage

Enter the name of an command action in the Execute field and finish editing to execute the first action that has this name. One could also (probably more easily) touch the field from scripting.

Details

Command actions belong (together with pointing actions) to managed interaction nodes, which provide an alternative, higher-level interaction concept than pure input events.

You can use the module SoInteractionInfo to query the interactions provided by a scene graph (don’t 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 OpenInventor 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

Enter the name of a command action. Names usually follow the scheme ‘’ModuleName.actionName’’.