The OnAddCommands event is called to allow your script add-in to add internal commands. Call the AddCmdData.AddCommand method once for each command you wish to add.

Method Name: OnAddCommands

Argument Type:


Return Type:



When Opus starts up, or when a script add-in is added, edited or enabled, its OnAddCommands method is called. This allows a script to add internal commands to the Opus command set. A script can reinitialize its list of commands at any time by calling the Script.InitCommands method.