Create a template for nested assemblies

Tekla Structures
2021
Tekla Structures

Create a template for nested assemblies

This example shows how to produce a template that displays the hierarchical structure of nested assemblies. You will create a nested assembly structure in a textual template similar to the one in the following picture:

  1. On the File menu, click Editors > Template Editor.
  2. In Template Editor, click File > New.
  3. Select Textual template and click OK.
  4. Add four new rows in the template.
    1. Click Insert > Component > Row to add a new row.
    2. Select a content type for the row, and then click OK.

      For the first and third row, select the ASSEMBLY content type, and for the second and fourth row, select the PART content type.

    3. Repeat steps a–b for each new row.
  5. Use the arrow buttons under Sorting and drawing order to create a nested assembly structure for the template.
    1. Move the second and third row down one level.
    2. Move the fourth row down two levels.

      The structure should now look like this:

  6. Add value fields to get the required data from your Tekla Structures database.

    In this example, the added value fields are assembly or part position, number, and weight.

    1. Click Insert > Value field.
    2. Click a point to define the location of the field within the row.

      The Select Attribute dialog box appears prompting you to select an attribute for the value field.

    3. Select an attribute and click OK.
    4. Repeat steps a–c for each value field.
  7. Modify the layout of the template. For example:
    1. Move objects to display the nested assembly structure in the printed report. To do this, select the object you want to move and drag it to the desired position.
    2. Align objects. To do this, select all the objects you want to align, right-click and select the appropriate option from the pop-up menu, for example Align > Right.
    3. Add a header and a footer. To do this, click Insert > Component > Page header and Page footer. Add the required information to the header and footer.
  8. Save the template.

Example

Below is an example textual template and a report that has been created using the template:


Note:

You can create graphical templates for nested assemblies in the same manner as textual templates. The difference between graphical and textual templates is that in a graphical template you can display project and company information and graphics, such as table outlines, pictures, or symbols.

Was this helpful?
Edellinen
Seuraava