Commands displayed in the SOLIDWORKS menu
Commands displayed in the SOLIDWORKS menu
Commands displayed in the SOLIDWORKS toolbar
Commands displayed in the SOLIDWORKS toolbar

In order to add command group it is required to call the AddCommandGroup method and pass the enumerator as a template parameter.

It is required to provide the void handler function with a parameter of enumerator which will be called by framework when command is clicked.

VB.NET

AddCommandGroup(Of Commands_e)(AddressOf OnCommand)

Private Sub OnCommand(ByVal cmd As Commands_e)
End Sub

C#

AddCommandGroup<Commands_e>(OnCommand);

private void OnCommand(Commands_e cmd) 
{
}