Skip to main content

Creating a value field in Template Editor

Modified: 19 Jan 2026 Tekla Structures 2026
2026
Tekla Structures

You can insert value fields in graphical templates and textual templates in order to gather and show data from the product database. For details on the attributes available in your product, please refer to your product documentation.

To create a new value field:

  1. On the toolbar, click the Value Field button.
  2. Click to define the insertion point within a component.
  3. The Select Attribute dialog box appears prompting you to select an attribute for the value field. Select an attribute in the list. You can also search for attributes if needed.

    If you want to insert the value field without defining an attribute, just click OK.

  4. You can define a formula for the field by clicking the Formula button and specifying which data to gather.

    You can skip this step and leave the formula undefined, in which case Template Editor inserts a default value.

  5. Click OK.

The value field appears in the template component with a Template Editor-generated name.

Formulas are an essential part of a value field since they define what is gathered and shown in a value field. A formula, for example, can get data from the product database and produce summaries of data that is gathered with other value fields.

If a value field formula consists of a single attribute function, Template Editor automatically sets the Data type, Justify (alignment), Length, Meaning and Unit properties. Depending on the Unit property, Precision or Decimal properties are also set. The values are read from the global attributes definition file.

See also

Value field output properties in Template Editor

Creating and saving a formula in Template Editor

Global attributes and Template Editor

Template definition files

Submit

Table of Contents