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.

UserDefinedElement Class

The UserDefinedElement class represents a user-defined attribute specified by its name. A user-defined element is converted into a textual value before it is drawn.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.DrawingElementBase
    Tekla.Structures.DrawingUserDefinedElement

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
[SerializableAttribute]
public sealed class UserDefinedElement : ElementBase

The UserDefinedElement type exposes the following members.

Constructors
  Name Description
Public method UserDefinedElement(String)
Creates a new user-defined element instance with the given name.
Public method UserDefinedElement(String, FontAttributes)
Creates a new user-defined element instance with the given name and font.
Top
Properties
  Name Description
Public property Font
The font of the user-defined attribute.
Public property Name
The name of the user-defined attribute.
Public property Unit
Gets or sets the unit attributes.
Public property Value
The value of the user-defined attribute.
Top
Methods
See Also