Create a new RibbonPanel on the designated standard Revit tab.
Namespace:
Autodesk.Revit.UI
Assembly:
RevitAPIUI
(in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- tab
-
Type:
Autodesk.Revit.UI
Tab
The target tab, on which the new panel will be created.
- panelName
-
Type:
System
String
The name of the panel to be created.
Remarks
This method will create a custom panel appending to the specified tab. This method is not supported in Macros.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | panelName is a null reference ( Nothing in Visual Basic) . |
Autodesk.Revit.Exceptions ArgumentException | panelName is Empty or the tab is not valid. |
Autodesk.Revit.Exceptions InvalidOperationException | If more than 100 panels were created or the tab cannot be found. |