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

UIApplication.GetRibbonPanels

Method
Description:
Get all the custom Panels on Add-Ins tab of Revit.
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.
Syntax
public virtual List<RibbonPanel> GetRibbonPanels()