Assigning rules to pictures in Template Editor

Tekla Structures
Modified: 14 Nov 2024
2025
Tekla Structures

Assigning rules to pictures in Template Editor

You can assign rules to pictures to define when they are output.

Ensure you have set the File Locations preferences before you begin.

Do the following to apply a rule to the picture that has already been inserted into the template component:

  1. Select the picture and double-click it to modify the properties.

    The Picture Properties dialog opens

  2. Click Rule to open the Rule Contents dialog box
  3. Inside the conditional statement you can use predefined attributes, already created value fields or combination of these with various data and string operations and formulas.

    Here is an example of a rule that includes a picture. The name of the picture file must appear in the rule.


  4. Click the Check button to ensure the syntax of the rule is correct.
  5. Click OK to save the changes.
  6. Save the template.

The picture will be output according to the rules you have applied to it.

See also

Adding pictures to a template in Template Editor

Creating and saving a template row rule

Template Editor formula and rule reference

Was this helpful?
Previous
Next