Template attribute files (contentattributes.lst)

Tekla Structures
2019
Tekla Structures

Template attribute files (contentattributes.lst)

Template attributes represent object properties. You can use template attributes in value fields, formulas, and row rules to get the required data from your Tekla Structures database.

When you output the template, Tekla Structures 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.

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 Tekla Structures. 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 edit 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 Tekla Structures. To use your own attributes in templates and reports, create a copy of this file and add the necessary attributes to that file.

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

The search order for the contentattributes.lst file is the following:

  1. Model folder

  2. Project folder defined by XS_​PROJECT

  3. Firm folder defined by XS_​FIRM

  4. Folder defined by XS_​TPLED_​INI

  5. Folder defined by XS_​TEMPLATE_​DIRECTORY /settings

Var det här användbart?
Föregående
Nästa