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
###########################################################################
Thank you very much, This will come in very handy. Always good to get some help with customizing 😃
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();
Thanks for the contribution, lol and love the screen name.
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.
Blog: hjalte.nl - github.com
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.