ApplicationFactoryStartNewApplication Method

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:
public static Task<IApplication> StartNewApplication(
	CancellationToken cancellationToken,
	int timeout = 30000,
	Func<Version, bool> versionSelector = null


Type: System.ThreadingCancellationToken
The cancellation token
timeout (Optional)
Type: SystemInt32
The timeout for application start (in [ms])
versionSelector (Optional)
Type: SystemFuncVersion, Boolean
The function selecting which of the installed version of Tekla Structural Designer should be started, when the highest installed version is started

Return Value

Type: TaskIApplication
The IApplication or null if application cannot be started or connected to
See Also