Tekla Structures: Templates and Reports Guide
Tekla Structures: Templates and Reports Guide
Tekla Structures: Templates and Reports Guide
Font Usage
Bold Any text that you see in the user interface appears in bold. This
font is used, for example, for window and dialog box titles, box
and button names, and list items.
Italic bold New terms are in italic bold when they appear in the current
context for the first time.
Monospace Extracts of program code, HTML, or other material that you
would normally edit in a text editor, appear in monospaced
font.
This font is also used for file names and folder paths, and for
any text that you should type yourself.
You should always read very important notes and warnings, like
this one. They will help you avoid making serious mistakes, or
wasting your time.
3
Contents
1 Templates ........................................................................................................ 5
1.1 Creating a template.............................................................................................................. 6
Creating a template in HTML format....................................................................................................... 6
Creating a template for nested assemblies............................................................................................ 7
Creating a template for bending schedules ......................................................................................... 10
Bending schedule attributes ............................................................................................................. 11
Adding images in a template ................................................................................................................... 12
1.2 Content types ...................................................................................................................... 14
1.3 Template attributes ............................................................................................................ 16
User-defined template attributes ........................................................................................................... 17
Adding user-defined template attributes ..................................................................................... 18
Adding comments to user-defined template attributes ........................................................... 19
Adding hierarchy to user-defined template attributes ............................................................. 19
2 Reports .......................................................................................................... 21
2.1 Creating a report ................................................................................................................ 21
Creating a report of selected drawings................................................................................................. 22
Creating a report of nested assemblies................................................................................................. 23
2.2 Viewing a report ................................................................................................................ 23
Defining how reports are displayed........................................................................................................ 23
Adding tabs to reports................................................................................................................................ 24
2.3 Printing a report ................................................................................................................ 25
2.4 Report settings .................................................................................................................... 26
4
1 Templates
Templates are descriptions of forms and tables that can be included in Tekla Structures. Templates
are either graphical or textual. Graphical templates can be included in drawings as tables, text
blocks, and drawing headers. Textual templates can be used as reports. The contents of the template
fields are filled in by Tekla Structures at run time.
Tekla Structures includes a large number of standard templates you can use. Use Template Editor to
modify existing templates, or create new ones to suit your needs. Graphical template definitions
have the file name extension .tpl. Textual template definitions have the file name extension
.rpt.
Example
Templates 5
1.1 Creating a template
To create a template:
1. Click Drawings & Reports > Template Editor...
2. In Template Editor, click File > New.
3. Select the template type and click OK. A new empty template is created.
4. Add new rows in the template.
a Click Insert > Component > Row to add a new row.
b Select a content type for the row and click OK.
c Repeat steps a–b for each new row.
5. Add value fields to get the required data from your Tekla Structures database.
a Click Insert > Value field.
b 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.
c Select an attribute and click OK.
d Repeat steps a–c for each value field.
6. Save the template.
a Click File > Save as...
b Browse to the template folder
..\environment\<your_environment>\template.
c In the File name field, enter a name for the template.
d Click OK.
Example
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.
a Click Insert > Value field.
b 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.
c Select an attribute and click OK.
d Repeat steps a–c for each value field.
7. Modify the layout of the template. For example:
Example Below is an example textual template and a report that has been created using the template:
Example
Example Below are some examples of the Select Picture File dialog box showing folder structure in different
environments.
Notice the full stops after the brackets, and between the
hierarchies.
User-defined attributes are case sensitive. Ensure that you enter the
attribute name using the correct case for all characters.
You can create reports of the information included in models. These could be lists of drawings, bolts,
and parts, for example. Tekla Structures creates reports directly from the model, so the information
is always accurate. Reports can contain information about selected parts or the entire model.
Tekla Structures includes a large number of standard report templates. Use Template Editor to
modify the existing report templates, or create new ones to suit your needs. The report templates
are located in the folder ..\ProgramData\Tekla
Structures\<version>\environments\<environment>\system. Report templates have
the file name extension .rpt.
Example
You can create reports without numbering the model objects. This is
useful when you need to produce draft reports from large multi-
user models. Tekla Structures still warns you if numbering is not up
to date.
To select multiple drawings, hold down Ctrl and then click the
drawings you want to select.
2. In Tekla Structures, click Drawings & Reports > Create Report... and go to the Options tab.
3. In the Show report list, select With associated viewer.
4. Click Save in the Report dialog box.
Option Description
Titles in reports Optional report titles.
You can enter up to three report titles. All the titles
are not used in every standard report. Title1, for
example, is used to show phase information in the
Assembly_list report.
Browse... Use to change the folder where the report will be
stored. By default, reports are stored in the current
model folder.
Show report Defines how Tekla Structures displays reports.
On dialog displays the report in a new window.
With associated viewer displays the report in the
associated program. For example, you can have
Tekla Structures open all HTML reports in a web
browser.
Show created report Defines whether or not the report is automatically
shown on the screen after it has been created.
This section provides useful hints and tips that help you use templates and reports more efficiently.
To Do this
Zoom to the selected objects 1. Hold down Z.
2. Click a row that contains an ID number.
Tekla Structures zooms to the corresponding
objects in the active model view.
Fit the work area to include 1. Hold down F.
only the selected objects 2. Click a row that contains an ID number.
Tekla Structures zooms to the corresponding
objects in the active model view.
Tips for templates and reports 28 Useful shortcuts in viewing logs and reports
Index
a i
assemblies images
in reports.....................................................................23 in templates ............................................................... 12
in templates.................................................................. 7
attributes
in bending schedules ...............................................11
in templates................................................................16
l
log files
viewing ........................................................................ 28
b
bending schedule ..............................................................10
bending schedules
p
pictures
attributes and values ...............................................11 in templates ............................................................... 12
printing
reports.......................................................................... 25
c
comments
in templates................................................................19
content types .....................................................................14
r
reports.................................................................................. 21
creating adding tabs................................................................. 24
reports...........................................................21, 22, 23 creating ....................................................................... 21
templates ...................................................................... 6 drafts............................................................................ 21
of drawings................................................................. 22
of nested assemblies................................................ 23
d printing........................................................................ 25
drawings settings ........................................................................ 26
in reports.....................................................................22 tips ................................................................................ 27
titles.............................................................................. 26
viewing ................................................................ 23, 28
f
free attributes....................................................................10
s
saving
g templates .......................................................................6
selecting
graphical templates ....................................................6, 10
objects included in reports .................................... 27
settings
reports.......................................................................... 26
h shortcuts
hierarchy in viewing logs and reports ................................... 28
in templates................................................................19
HTML templates .................................................................. 6
29
t
tabs
in reports .....................................................................24
template attributes...........................................................16
Template Editor............................................................ 5, 21
templates............................................................................... 5
adding images............................................................12
aligning objects ........................................................... 7
attributes.....................................................................16
comments....................................................................19
content types .............................................................14
creating.......................................................................... 6
free attributes ............................................................10
graphical templates.....................................6, 10, 12
headers and footers...............................................6, 7
hierarchy......................................................................19
in HTML format............................................................ 6
moving objects............................................................. 7
of bending schedules ....................................... 10, 11
of nested assemblies .................................................. 7
rows...............................................................................14
saving ............................................................................. 6
sorting order ................................................................. 7
textual templates........................................................ 7
tips.................................................................................27
user-defined attributes ........................... 17, 18, 19
textual templates................................................................ 7
tips
templates and reports..............................................27
useful shortcuts in viewing logs and reports....28
titles in reports ..................................................................26
u
user-defined attributes
in templates................................................ 17, 18, 19
v
viewing
reports ..........................................................................23
30