Solid Edge Framework Type Library
AddCommand Method
Specifies the ID of the environment to which the command bar button is to be added. These strings are defined in the file Solid Edge\SDK\include\secatids.h.
Specifies the name of the command to be added.
Specifies the ID of the command.
Description
Adds a command not included in any of the calls to SetAddInInfo.
Syntax
Visual Basic
Public Function AddCommand( _
   ByVal EnvironmentCatID As String, _
   ByVal CommandName As String, _
   ByVal CommandID As Long _
) As Long
Parameters
EnvironmentCatID
Specifies the ID of the environment to which the command bar button is to be added. These strings are defined in the file Solid Edge\SDK\include\secatids.h.
CommandName
Specifies the name of the command to be added.
CommandID
Specifies the ID of the command.
Remarks
Generally this method is used when a command is being added to the menu but not any command bar.
See Also

AddIn Object  | AddIn Members

Send comments on this topic.