Solid Edge Framework Type Library
AddCommandBarButton 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 buttons to a command bar.
Syntax
Visual Basic
Public Function AddCommandBarButton( _
   ByVal EnvironmentCatID As String, _
   ByVal CommandBarName As String, _
   ByVal CommandID As Long _
) As CommandBarButton
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.
CommandBarName
Specifies the name of the command to be added.
CommandID
Specifies the ID of the command.
See Also

AddIn Object  | AddIn Members

Send comments on this topic.