Solid Edge Framework Type Library
Add Method
Specifies the name of the new command bar. If this argument is not specified, Solid Edge assigns a default name, such as "CommandBar 1." This name becomes the initial value of the Name and NameLocal properties.
Defines the position of the new command bar. Valid values are members of the seBarPosition constant set.
If True, the command bar is temporary; temporary command bars are deleted when Solid Edge is closed. The default is False.
Description
Adds an occurrence of the referenced object.
Syntax
Visual Basic
Public Function Add( _
   Optional ByVal Name As Variant, _
   Optional ByVal Position As Variant, _
   Optional ByVal MenuBar As Variant, _
   Optional ByVal Temporary As Variant _
) As CommandBar
Parameters
Name
Specifies the name of the new command bar. If this argument is not specified, Solid Edge assigns a default name, such as "CommandBar 1." This name becomes the initial value of the Name and NameLocal properties.
Position
Defines the position of the new command bar. Valid values are members of the seBarPosition constant set.
MenuBar
If True, the new command bar will become the active command bar. The default is False.
Temporary
If True, the command bar is temporary; temporary command bars are deleted when Solid Edge is closed. The default is False.
See Also

CommandBars Collection  | CommandBars Members

Send comments on this topic.