Tips for reports and report templates
There are some things that you might consider to be able to create reports more efficiently.
Select objects to include in a report using GUIDs
You can select objects to be included in reports by using their GUIDs (globally unique identifiers).
In Template Editor, create a template that is used for creating the
- In Tekla Structures, on the File menu, click .
- In Template Editor, click .
- Select Textual template and click OK.
Add a row for the GUID.
Select a content type for the row and clicking OK.
Click OK.and enter the text guid:, Guid: or GUID:. Click
This enables the selecting of objects in the model.
Click Select Attribute dialog box appears prompting you to select an attribute for the value field.. Click a point to define the location of the field within the row. The
Select the attribute GUID and click OK.
- Add the required amount of other rows in the template.
Enter a name for the template and browse to the folder that has been defined templates for the advanced option
XS_TEMPLATE_DIRECTORY. Use the file name extension
Create a report based on the report template you saved.
- On the Drawings & reports tab, click Reports.
- Select the report template you created from the list.
Click Create from all.
Tekla Structures displays the report.
Click a row that contains an GUID number in the report.
Tekla Structures selects the corresponding object in the active model view.
Show report content in correct cells
You can associate Tekla Structures to open reports of a certain type in Microsoft Excel. When you open such reports in Microsoft Excel, the report template rows might not be divided correctly into cells. To correct this, you can add tabs between the cells.
- Open an existing report template in Template Editor.
\tbetween the text and value fields. For example:
The output in Microsoft Excel:
The output in a text editor:
Alternatively, you can use a comma or semicolon as a delimiter between the text fields. However, the default delimeter may vary between users, and the output might not be readable in all text editors.