Command

This topic provides you with information about the Command operation.

This page discusses:

Accessing this Operation

This operation can be accessed by clicking Command .

Describing this Operation

This operation is designed to specify the execution parameters of a CAA Command. When working with CAA, a developer can create a command. This operation enables the expert user to launch this command by specifying its name and the module where it is defined.
Note: Note that the input of this operation must be a command class and the module in which the command was declared.

More Information about this Operation

Focus is now available for the Command operation. It is checked by default but you must select Focus when defining undefined commands.

If Focus is cleared, the command operation is launched asynchronously (it is executed later).

For a sequential combination, it is recommended to select Focus of the Command operation and the one of the operation located below the Command operation (if both operations are linked). If not, the second operation is not executed.

  • For an exclusive command, the focus option must be set.
  • For an undefined command, it is recommended not to check Focus.

This operation can launch any commands from its name (visible in the tool tip and power input) and from its Header name. To do so, proceed as follows:

  • Fill the Command Name field with the name of the command. The command name is the string you can see in the power input when you move the mouse over the command.
  • Enter commands in the Module Name box.

Note: Know-how Apps Components cannot make out if the command ends successfully or not. Whatever the result, Know-how Apps Components continues to run the next operations. Some commands need to be launched from their origin apps. Change apps using a VB with CATIA.StartWorkbench "WbName" and return to the initial app when done. For Fit All In, make sure the focus is on the geometry and not on the tree.

Using this Operation Interface

Name Comment
Name attributed to the operation. Comment attributed to the operation.
Frame Fields Explanations
Execute Command Name Type the name of the command class.
Module Name Type the name of the module in which the command was declared.

Using this Operation

A document is associated with the process that is being developed by the expert user. The expert user wants the end user to access this documentation.