Using one Ribbon Menu for all Addins

hi!

i would like to use one Ribbon Menu lets call it Add Ins for all Tools i'll write.

The Menu has Subgroups for Draft, Part and Assembly and the Groups should be Visible only on declared Environment.

 

These Steps work very well for ONE Assembly, but if i would add a command from one Assembly to an already existing menu from me, it duplicats it.

 

i have two Addins creating the same menu

 

addin.SetAddInInfo(Marshal.GetHINSTANCE(this.GetType().Module).ToInt32(),EnvCatID,"Add Ins",1,2,1,2,2,ref CommandNames, ref CommandIDs)

and nowi have two Ribbon Menus called Add Ins with one Group Draft in the first and a Group Assembly in the Second.

but i would like to have One Menu Add Ins including both Groups????

 

how does it work? How do i Add a Command to an Existing Menu

 

thanks

 

 

 

Posted by: Werner Richtsfeld
Post date: 11/17/2011 3:12:53 AM