Class RibbonManager
Ribbon Manager will help you create Tabs, Panels and Buttons in Revit
Inheritance
System.Object
RibbonManager
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Onbox.Revit.V8.UI
Assembly: Onbox.Revit.dll
Syntax
public class RibbonManager : IRibbonManager
Constructors
| Improve this Doc View SourceRibbonManager(UIControlledApplication, ImageManager)
Constructor
Declaration
public RibbonManager(UIControlledApplication app, ImageManager imageManager)
Parameters
Type | Name | Description |
---|---|---|
Autodesk.Revit.UI.UIControlledApplication | app | |
ImageManager | imageManager |
Methods
| Improve this Doc View SourceCreatePanel(String)
Creates a Ribbon Panel on Revit's Addins Tab
Declaration
public IRibbonPanelManager CreatePanel(string panelName)
Parameters
Type | Name | Description |
---|---|---|
System.String | panelName |
Returns
Type | Description |
---|---|
IRibbonPanelManager |
CreatePanel(String, String)
Creates a Ribbon Panel
Declaration
public IRibbonPanelManager CreatePanel(string tabName, string panelName)
Parameters
Type | Name | Description |
---|---|---|
System.String | tabName | |
System.String | panelName |
Returns
Type | Description |
---|---|
IRibbonPanelManager |
CreateTab(String)
Creates a Ribbon Tab
Declaration
public IRibbonTabManager CreateTab(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
IRibbonTabManager |
GetApp()
Get Revit UI Controlled App
Declaration
public UIControlledApplication GetApp()
Returns
Type | Description |
---|---|
Autodesk.Revit.UI.UIControlledApplication |
GetLineBreak()
Gets Ribbon line break string
Declaration
public string GetLineBreak()
Returns
Type | Description |
---|---|
System.String |