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

Inheritance: IExternalApplication
Mostrar archivo Open project: AMEE/revit

Public Methods

Method 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

Method Description
AddCustomPanel ( UIControlledApplication application ) : void

Add custom menu.

Method Details

Dispose() public static method

Dispose some resource.
public static Dispose ( ) : void
return void

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