Hi all,
I am trying to add my add-in features to the command tab. I am able to create the menu bar as well as the toolbars as shown in the attached image. But I would like to add a separate command-tab like 'Analysis Preparation' as shown in the image part 2. When the user clicks on the tab the features like Configuration, Specify materials will come like Fillet, Chamfer.
Thanks
When you use toolbar id as command id of a command tab, it will be rendered s drop-down:
cmdIDs[2] = moldBoxGroup.ToolbarId;
results in
As you are also adding the commands directly
cmdIDs[0] = moldBoxGroup.get_CommandID(boxIndex0);
cmdIDs[1] = moldBoxGroup.get_CommandID(boxIndex1);
That's get repeated.
So to get the expected result, you should place the commands you want to be in dropdown into a single toolbar and use cmdIDs[2] = moldBoxGroup.ToolbarId for that. And also do not place individual commands as well. You do not need a flyout for your case. Flyouts allow to render dynamic commands when for example title is changed. As far as I understand you are building static commands tab.