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.

Meta.Microsoft.Help.Id
T:Tekla.Structures.Drawing.UserDefinedElement

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: 2020.0.0.0 (2020.0.55582.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