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.

SecondaryTypeAttribute Class

The SecondaryTypeAttribute class is used for storing the number of needed secondaries in the connection. Based on the type the system can then correctly ask for user input in the creation. The attribute is initialized from the custom attribute i.e. [SecondaryType(ConnectionBase.SecondaryType.SECONDARYTYPE_ONE)] in the connection source.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Tekla.Structures.PluginsSecondaryTypeAttribute

Namespace:  Tekla.Structures.Plugins
Assembly:  Tekla.Structures.Plugins (in Tekla.Structures.Plugins.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
public sealed class SecondaryTypeAttribute : Attribute

The SecondaryTypeAttribute type exposes the following members.

Constructors
  Name Description
Public method SecondaryTypeAttribute(Int32)
The custom attribute [SecondaryType()] uses this to store the secondary type to the system. This is not to be used by itself.
Public method SecondaryTypeAttribute(ConnectionBaseSecondaryType)
The custom attribute [SecondaryType()] uses this to store the secondary type to the system. This is not to be used by itself.
Top
Properties
  Name Description
Public property Type
The custom attribute [SecondaryType()] uses this to store the secondary type to the system. This is not to be used by itself.
Top
See Also