Share

UIApplication.CreateRibbonPanel(String) Method

Create a new RibbonPanel on the Add-Ins tab.


Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public virtual RibbonPanel CreateRibbonPanel(
	string panelName
)

Parameters

panelName  String
The name of the panel to be created.

Return Value

RibbonPanel

Exceptions

ExceptionCondition
ArgumentNullExceptionpanelName is null.
ArgumentExceptionpanelName is Empty.
InvalidOperationExceptionIf more than 100 panels were created.

Remarks

This method will create a custom panel appending to the Revit AddIns tab. This method is not supported in Macros.

See Also

Reference

Was this information helpful?