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

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

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

Метод Описание
OnShutdown ( UIControlledApplication application ) : System.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 ) : System.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.

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

Метод Описание
AddChangeInfoRow ( ElementId id, Document doc, string changeType ) : void

This method is used to retrieve the changed element and add row to data table.

CreateChangeInfoTable ( ) : DataTable

Generate a data table with five columns for display in window

CtrlApp_DocumentChanged ( object sender, Autodesk e ) : void

This method is the event handler, which will dump the change information to tracking dialog

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

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 ) : System.Result
application UIControlledApplication An object that is passed to the external application /// which contains the controlled application.
Результат System.Result

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

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 ) : System.Result
application UIControlledApplication An object that is passed to the external application /// which contains the controlled application.
Результат System.Result