UIControlledApplication.CreateRibbonPanel
Description:
Create a new RibbonPanel on the designated standard Revit tab.
Create a new RibbonPanel on the designated standard Revit tab.
Remarks:
This method will create a custom panel appending to the specified tab. This method is not supported in Macros.
This method will create a custom panel appending to the specified tab. This method is not supported in Macros.
Overloads (3):
public virtual RibbonPanel CreateRibbonPanel(
Tab tab,
string panelName
)
-
tabThe target tab, on which the new panel will be created.
-
StringpanelNameThe name of the panel to be created.
Return Value
RibbonPanel
-
panelName isnullNothingnullptra null reference (Nothingin Visual Basic).
-
panelName is Empty or the tab is not valid.
-
If more than 100 panels were created or the tab cannot be found.