Interface IRevitExternalApp
Onbox contract that wraps Revit's Autodesk.Revit.UI.IExternalApplication.
Inherited Members
Autodesk.Revit.UI.IExternalApplication.OnStartup(Autodesk.Revit.UI.UIControlledApplication)
Autodesk.Revit.UI.IExternalApplication.OnShutdown(Autodesk.Revit.UI.UIControlledApplication)
Namespace: Onbox.Revit.V8
Assembly: Onbox.Revit.dll
Syntax
public interface IRevitExternalApp : IExternalApplication
Methods
| Improve this Doc View SourceOnCreateRibbon(IRibbonManager)
Lifecycle hook to create Ribbon UI when Revit starts.
Declaration
void OnCreateRibbon(IRibbonManager ribbonManager)
Parameters
Type | Name | Description |
---|---|---|
IRibbonManager | ribbonManager |
OnShutdown(IContainerResolver, UIControlledApplication)
Implement this method to execute some tasks when Autodesk Revit shuts down.
Declaration
Result OnShutdown(IContainerResolver container, UIControlledApplication application)
Parameters
Type | Name | Description |
---|---|---|
IContainerResolver | container | |
Autodesk.Revit.UI.UIControlledApplication | application |
Returns
Type | Description |
---|---|
Autodesk.Revit.UI.Result |
OnStartup(IContainer, UIControlledApplication)
Implement this method to execute some tasks when Autodesk Revit starts.
Declaration
Result OnStartup(IContainer container, UIControlledApplication application)
Parameters
Type | Name | Description |
---|---|---|
IContainer | container | |
Autodesk.Revit.UI.UIControlledApplication | application |
Returns
Type | Description |
---|---|
Autodesk.Revit.UI.Result |