Creates a new tab on the Revit user interface.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public virtual void CreateRibbonTab( string tabName )
Parameters
- tabName String
- The name of the tab to be created.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | tabName or panelName is null. |
ArgumentException | tabName or panelName is Empty or the tab name duplicates the name of another tab in the Revit UI. |
InvalidOperationException | Too many custom tabs have been created in this session. (Maximum is 20). |