IApplication Interface |
Represents a connection to a running Tekla Structural Designer instance
Namespace: TSD.API.Remoting
Assembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
The IApplication type exposes the following members.
| Name | Description | |
|---|---|---|
| Connected | Gets value indicating if application can be connected | |
| UnitConverter | Gets the unit converter |
| Name | Description | |
|---|---|---|
| CreateDocumentAsync | Creates a new document | |
| DisconnectAsync | Disconnects from the Tekla Structural Designer application | |
| GetApplicationTitleAsync | Returns Tekla Structural Designer application main window title | |
| GetDocumentAsync | Gets the document | |
| GetVersionStringAsync | Returns string representation of Tekla Structural Designer application version | |
| OpenDocumentAsync(FileStream, Boolean, CancellationToken) | Opens a document from a FileStream | |
| OpenDocumentAsync(String, Boolean, CancellationToken) | Opens a document | |
| StopAsync | Stops the Tekla Structural Designer application This action is only valid if the application was started from API |
| Name | Description | |
|---|---|---|
| Disconnected | An event invoked when the application disconnects | |
| ModelClosed | An event invoked when model is closed | |
| ModelOpened | An event invoked when model is opened | |
| SelectionChanged | An event invoked when the active selection changed |