GetRibbonPanels Method


UIControlled Application Get Ribbon Panels Method

Get all the custom Panels on Add-Ins tab of Revit.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public virtual List<RibbonPanel> GetRibbonPanels()

Return Value

List RibbonPanel
Remarks
The built-in panels won't be included and the panels added to tabs other than Add-Ins will not be included. This method is not supported in Macros.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →