Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

ModelAccessConnectToModel Method (Boolean)

Gets a model connection.

Namespace:  Tekla.Structures.Dialog.UIControls
Assembly:  Tekla.Structures.Dialog (in Tekla.Structures.Dialog.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public static Model ConnectToModel(
	out bool ConnectedToModel
)

Parameters

ConnectedToModel
Type: SystemBoolean
True if a model connection was made. False otherwise.

Return Value

Type: Model
The model or null if unable to connect.
See Also