Template attributes and Template Editor

Tekla Structures
2020
Tekla Structures

Template attributes and Template Editor

Template attributes represent object properties. You can use template attributes in value field formulas and row rules to get the required data from the product database. At run-time, the product replaces the attribute with the actual value of the corresponding object property.

For example, if you include the attribute WEIGHT in a report template, Tekla Structures displays the weight of the model object in the report.

By default, these attribute files are located in..\Program Files\Tekla Structures\<version>\nt\TplEd\settings, but the location may be different in your environment.

Template attributes are defined in the following files:

File name

Description

contentattributes.lst

This is a container file listing all the files that contain the actual attribute definitions. The files are added with INCLUDE sentences. The order of the files included in contentattributes.lst defines the reading order of the files.

This file is overwritten in the installation when you install a newer version of your product. Ensure that you make a copy of this file before updating.

Generally, there is no need to modify contentattributes.lst. Do not modify it if you are not an administrator.

contentattributes_global.lst

This file contains attributes that are hard-coded into the program. Do not modify this file.

contentattributes_userdefined.lst

This file contains user-defined attributes, the same as in the objects.inp file.

This file is overwritten in the installation when you install a newer version of your product. To use your own attributes in templates and reports, create a copy of this file and add the necessary attributes to that file.

See also

See your product documentation for more information on product-specific attributes.

Value field formulas in Template Editor

Controlling row output with rules in Template Editor

这些内容是否有用?
上一步
下一步