Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Hubert_Los
128 Views, 1 Reply

First add-ins button disappears when second add-ins button is created

Hello,

I have two add-ins (c#). I added the first add-ins to Invnetor to a new tab “MyTab”, and panel “MyPanel”. I cannot add the second button to the same tab. The buttons have different internalName and displayName. I have different ClassId/ClientId/GUID number for 2 projects. The program stops at this point:

 

CommandCategory slotCmdCategory = application.CommandManager.CommandCategories.Add("Slot", "Autodesk:YourAddIn:ShowTextCmd", addinId);

 

 

When I try to add the second button to a new tab, e.g. “MyTab_2”. The second button appears and the first button disappears in the “MyTab” tab. “MyTab” still exists, but there are no buttons.
Something wrong with the creation of the buttons, any ideas what I can change?

Michael.Navara
in reply to: Hubert_Los

It is hard to answer this without a code. I don't know about similar issue.

 

Only one thing: Is it "Autodesk:YourAddIn:ShowTextCmd" just a placeholder for this forum, or you try to create command category with the same InternalName from both add-ins?