Skip to main content

Creating a value field in Template Editor

Tekla Structures 2022
2022
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.

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.

Submit

Table of Contents