C# Class Revit.SDK.Samples.PerformanceAdviserControl.CS.Application

Implements the Revit add-in interface IExternalApplication,
Inheritance: Autodesk.Revit.UI.IExternalApplication
Mostrar archivo Open project: AMEE/revit

Public Methods

Method Description
Application ( ) : System

Basic construction

OnShutdown ( Autodesk application ) : Autodesk.Revit.UI.Result

Implement this method to implement the external application which should be called when Revit is about to exit, Any documents must have been closed before this method is called.

OnStartup ( Autodesk application ) : Autodesk.Revit.UI.Result

Implement this method to implement the external application which should be called when Revit starts before a file or default template is actually loaded.

Method Details

Application() public method

Basic construction
public Application ( ) : System
return System

OnShutdown() public method

Implement this method to implement the external application which should be called when Revit is about to exit, Any documents must have been closed before this method is called.
public OnShutdown ( Autodesk application ) : Autodesk.Revit.UI.Result
application Autodesk An object that is passed to the external application /// which contains the controlled application.
return Autodesk.Revit.UI.Result

OnStartup() public method

Implement this method to implement the external application which should be called when Revit starts before a file or default template is actually loaded.
public OnStartup ( Autodesk application ) : Autodesk.Revit.UI.Result
application Autodesk An object that is passed to the external application /// which contains the controlled application.
return Autodesk.Revit.UI.Result