Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inventor 2014 Ribbon, Tab & Panel Names

5 REPLIES 5
Reply
Message 1 of 6
Boorda
1983 Views, 5 Replies

Inventor 2014 Ribbon, Tab & Panel Names

I've looked around to try and find a useful resource for Inventor ribbon names and such with pretty much no luck so I generated my own for Inventor 2014. I decided to post this here incase someone else might find it useful during macro or add-in development.

 

 

Sample......

 

 

####################################################################

####                                Inventor 2014 Ribbons, Tabs & Panels Map                      ####

####                                                                                                                        ####

####################################################################

Ribbon Name: ZeroDoc

ZeroDoc Tabs & Panels...

     Tab Name: Get Started.................................Internal Name: id_GetStarted

          Panel Name: Launch························Internal Name: id_Panel_Launch

          Panel Name: New Features················Internal Name: id_Panel_GetStartedWhatsNew

          Panel Name: Videos and Tutorials········Internal Name: id_Panel_Tutorial

     Tab Name: Tools...........................................Internal Name: id_TabTools

          Panel Name: Options·······················Internal Name: id_PanelP_ToolsOptions

          Panel Name: Content Center···············Internal Name: id_PanelZ_ToolsContentCenter

          Panel Name: iLogic·························Internal Name: iLogic.RibbonPanel

          Panel Name: Web···························Internal Name: id_PanelP_ToolsWebTools

     Tab Name: Add-Ins......................................Internal Name: id_AddInsTab

     Tab Name: Inventor Debug..........................Internal Name: id_InventorDebugTab

     Tab Name: Exit Tutorial..............................Internal Name: id_TabTutorial_Exit

          Panel Name: Exit Tutorial·················Internal Name: id_Panel_TutorialExit

     Tab Name: Autodesk 360.............................Internal Name: id_OnlineTab

          Panel Name: Access························Internal Name: id_Panel_OnlineDocument

          Panel Name: Simulation····················Internal Name: id_Panel_Simulation

###########################################################################

 


Automation is key!
5 REPLIES 5
Message 2 of 6
JoAnn_Hogan
in reply to: Boorda

Thank you very much, This will come in very handy. Always good to get some help with customizing 😃

If this post solved your issue please mark as solved and Kudos are always welcome 😃

Jo - Ann
Twitter: @JoAnn_Hogan
Revit Architecture Certified Professional / Revit Structure Certified Professional / AutoCAD Certified Professional
Message 3 of 6
el_jefe_de_steak
in reply to: Boorda

Here is a similar list for Inventor 2023 ribbons. I am not 100% sure if it is comprehensive or not, but there's a lot there.

 

The code to generate this list is shown below (C#). Note that there is no "display name" for ribbons, as they are not shown by name to the user.

 

var userInterfaceManager = _thisApplication.UserInterfaceManager;
using var sw = new StreamWriter("c:\\temp\\InventorRibbons.csv");

sw.WriteLine($"Ribbon,Tab Name,Tab Internal Name");
foreach (Ribbon oRibbon in userInterfaceManager.Ribbons)
{
    foreach (RibbonTab oTab in oRibbon.RibbonTabs)
    {
        sw.WriteLine($"{oRibbon.InternalName},{oTab.DisplayName},{oTab.InternalName}");
    }
}
sw.Close();

 

Message 4 of 6
Boorda
in reply to: el_jefe_de_steak

Thanks for the contribution, lol and love the screen name.


Automation is key!
Message 5 of 6
JelteDeJong
in reply to: Boorda

This variation also shows the panels and writes them to the logger:

For Each ribbon As Ribbon In ThisApplication.UserInterfaceManager.Ribbons
    Logger.Info(vbTab & Ribbon.InternalName)
    For Each ribbonTab As RibbonTab In Ribbon.RibbonTabs
        Logger.Info(vbTab & vbTab & RibbonTab.DisplayName & " - " & RibbonTab.InternalName)
        For Each ribbonPanel As RibbonPanel In RibbonTab.RibbonPanels
            Logger.Info(vbTab & vbTab & vbTab & RibbonPanel.DisplayName & " - " & RibbonPanel.InternalName)
        Next
    Next
Next
Dim loggerWindow = ThisApplication.UserInterfaceManager.
	DockableWindows.
	Cast(Of DockableWindow).
	Where(Function(d) d.InternalName.Equals("ilogic.logwindow")).
	First()
loggerWindow.Visible = True

 It's taken from my blog post/tutorial "Creating an Inventor Addin".

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

Message 6 of 6
el_jefe_de_steak
in reply to: Boorda

I got very tired of remembering where I saved this, and not having enough items documented. I created a running database that shows all of this information. It includes code samples as well.

 

View the Database Here 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report