Revit 2025.3 API
UIApplicationCreate |
Create a new RibbonPanel on the Add-Ins tab.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public virtual RibbonPanel CreateRibbonPanel( string panelName )
Public Overridable Function CreateRibbonPanel ( panelName As String ) As RibbonPanel
public: virtual RibbonPanel^ CreateRibbonPanel( String^ panelName )
abstract CreateRibbonPanel : panelName : string -> RibbonPanel override CreateRibbonPanel : panelName : string -> RibbonPanel
Parameters
- panelName String
- The name of the panel to be created.
Return Value
RibbonPanel
Exception | Condition |
---|---|
ArgumentNullException | panelName is . |
ArgumentException | panelName is Empty. |
InvalidOperationException | If more than 100 panels were created. |

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