Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.89 KB

InventorCode.AddinPack.CommandButtonTemplate.CreateRibbonButton(string,string,string,string,string).md

File metadata and controls

40 lines (22 loc) · 1.89 KB

CommandButtonTemplate.CreateRibbonButton(string, string, string, string, string) Method

This method inserts the command button into the Inventor ribbon UI. This is typically called from the CommandBUttonTemplate.BuildUserInterface() method.

public void CreateRibbonButton(string ribbon, string tabName, string tabId, string panelName, string panelId);

Parameters

ribbon System.String

The Inventor ribbon name

tabName System.String

The name of the tab to add the button to

tabId System.String

The internal name of the tab to add the button to

panelName System.String

The name of the panel to add the button to

panelId System.String

The internal name of the panel to add the button to