RVTDocs.com
Namespace: Autodesk.Revit.UI Class: UIApplication

UIApplication.CreateRibbonPanel(String, String)

Method
Description:
Create a new RibbonPanel on the specified tab.
Remarks:
This method will create a custom panel appending to the specified tab. This method is not supported in Macros.
Syntax
public virtual RibbonPanel CreateRibbonPanel(
	string tabName,
	string panelName
)
Parameters
Parameter Type Description
tabName String The name of the tab, on which the new panel will be created.
panelName String The name of the panel to be created.
Return Value
Exceptions
Exception Condition
ArgumentNullException tabName or panelName is.
ArgumentException tabName or panelName is Empty.
InvalidOperationException Too many panels have been added to this tab (Maximum is 100).