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

Implements the Revit add-in interface IExternalApplication,
Inheritance: Autodesk.Revit.UI.IExternalApplication
Afficher le fichier Open project: AMEE/revit

Méthodes publiques

Méthode 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 méthode

Basic construction
public Application ( ) : System
Résultat System

OnShutdown() public méthode

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.
Résultat Autodesk.Revit.UI.Result

OnStartup() public méthode

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.
Résultat Autodesk.Revit.UI.Result