ActivateCommand
The ActivateCommand event notifies the client when a command has been invoked.
EventNames:
ActivateCommand_Post
Parameters
Type |
Name |
Description |
|---|---|---|
String |
commandName |
The internal name of the command. This is the same name as the internal name of the ControlDefinition object associated with this command. |
Examples:
ActivateCommand_Post:
Register-InventorEvent -EventName ActivateCommand_Post -Action 'PostActivateCommand'
function PostActivateCommand($commandName) {
#Write event code here
}