Add an Add-In Button to existing command bar tab:
I´m not quite sure if this is possible.
Each button on different command bar tab:
You create a "commandgroup" to which you add "commanditems" - so you can add as many buttons to the same command bar tab as possible.
You can add/remove this commandtab with "addcommmandtab/removecommandtab" and add the buttons with "addcommandtabbox - addcommands".
Do you use the Solidworks SDK Template? - You can find an example there?
I´m not sure if i understood what you mean. - Can you offer some more Information/Example? (Screenshot or Code?)
Sorry for the delayed response.
As you can see in the attached image, I have created an addin which adds a command bar tab "My Addin" which has 2 buttons. Originally, I wanted to create one addin with one button and then create another addin which adds second button to the first addin command bar tab (in this case, it would be "My Addin" tab). It may not be possible but I would like to know if someone has tried anything like this. Hope this make sense to you.
I am using SolidWorks SDK template. I fully understand how to create command group and add buttons to the command bar.
Hi, Sorry for the Delay.
So i think i might understand now. But isn't it easier if you wan´t to get rid of a button or add one just to change the existing AddIn?
In case that´s not possible you might try with the same AddIn GUID, CommandTab ID, Button ID - honestly i am just guessing.
What have your investigations brought out?