C# Class Revit.SDK.Samples.EventsMonitor.CS.ExternalApplication

Inheritance: IExternalApplication
Afficher le fichier Open project: AMEE/revit

Méthodes publiques

Méthode Description
Dispose ( ) : void

Dispose some resource.

OnShutdown ( UIControlledApplication 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 ( UIControlledApplication 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.

Private Methods

Méthode Description
AddCustomPanel ( UIControlledApplication application ) : void

Add custom menu.

Method Details

Dispose() public static méthode

Dispose some resource.
public static Dispose ( ) : void
Résultat void

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 ( UIControlledApplication application ) : Autodesk.Revit.UI.Result
application UIControlledApplication 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 ( UIControlledApplication application ) : Autodesk.Revit.UI.Result
application UIControlledApplication An object that is passed to the external application /// which contains the controlled application.
Résultat Autodesk.Revit.UI.Result