C# Класс Revit.SDK.Samples.DoorSwing.CS.ExternalApplication

Наследование: IExternalApplication
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

OnShutdown() публичный Метод

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.
Результат Autodesk.Revit.UI.Result

OnStartup() публичный Метод

public OnStartup ( UIControlledApplication application ) : Autodesk.Revit.UI.Result
application UIControlledApplication An object that is passed to the external application /// which contains the controlled application.
Результат Autodesk.Revit.UI.Result