API Reference

Detailed and full API reference helps you master Tekla development

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

Connection Properties

The Connection type exposes the following members.

  Name Description
Public property AutoDirectionType
The auto direction type.
Public property Class
The class of the connection.
Public property Code
The code of the connection. The code can be used to classify the connection. The code of the connection can be reported and shown in drawings. The maximum length of the string is 20 characters.
Public property Identifier
The identifier of the object.
(Inherited from Object.)
Public property IsUpToDate
Gets if the object does not have a modification which is not shared.
(Inherited from ModelObject.)
Public property ModificationTime
Gets latest time of the object was modified or created.
(Inherited from ModelObject.)
Public property Name
The name of the component. The name identifies custom components or plug-ins.
(Inherited from BaseComponent.)
Public property Number
The number of the component. A number greater than zero identifies system components, for custom components the number is CUSTOM_OBJECT_NUMBER, and for plug-ins the number is PLUGIN_OBJECT_NUMBER.
(Inherited from BaseComponent.)
Public property PositionType
The position type.

When creating custom connections this attribute is not applied, instead the position type used when creating the custom connection is used.

Public property Status
The read only status of the connection. The status can be reported and shown in drawings. The color of the connection symbol in the model indicates the status of the connection.
Public property UpVector
A vector indicating which direction is considered the up direction for the connection.
See Also