Application |
Starts new instance of Tekla Structural Designer application and connects to it
Namespace: TSD.API.Remoting
Assembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
Syntax
public static Task<IApplication?> StartNewApplicationAsync( CancellationToken cancellationToken, int timeout = 30000, Func<Version, bool>? versionSelector = null, string commandLineOptions = "" )
Parameters
- cancellationToken CancellationToken
- The cancellation token
- timeout Int32 (Optional)
- The timeout for application start (in [ms])
- versionSelector FuncVersion, Boolean (Optional)
- The function selecting which of the installed version of Tekla Structural Designer should be started, when the highest installed version is started
- commandLineOptions String (Optional)
- The command line options passed to TSD
Return Value
TaskIApplicationThe IApplication or null if application cannot be started or connected to
See Also