Skip to main content

Modifying a value field formula in Template Editor

Modified: 21 Apr 2023 Tekla Structures 2023
2023
Tekla Structures

The formula applied to a value field determines what data is gathered with the field. The data source can be your product database or other fields of the current template. The references to the data sources are created with data functions.

To modify a value field formula:

  1. Select the value field and double-click it to open the Value Field Properties dialog box.
  2. There are several ways to modify a value field formula:
    • Select a global attribute from the Formula list.

    • Click the Attribute button and select the appropriate attribute from the attribute tree.

    • Click the Formula button. This opens the Formula Contents dialog box where you can modify the formula.

    Click Check to ensure that the formula syntax is correct. Make corrections if necessary.

  3. Click OK to accept the changes and close the Formula Contents dialog box.
  4. Set the output properties of the value field to match the outcome of the formula.
  5. Click OK to accept the changes in the Value Field Properties dialog box.
Note:

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