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

Inheritance: IExternalApplication
Mostrar archivo Open project: AMEE/revit

Public Methods

Method Description
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

Private Methods

Method Description
DocumentSavingAsHandler ( Object sender, DocumentSavingAsEventArgs args ) : void

This event is fired whenever a document is saved as. Update door's information according to door's current geometry.

DocumentSavingHandler ( Object sender, DocumentSavingEventArgs args ) : void

This event is fired whenever a document is saved. Update door's information according to door's current geometry.

Method Details

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

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