Add templates in marks

Tekla Structures
2020
Tekla Structures

Add templates in marks

You can create custom graphical templates (.tpl) with Template Editor and add them as elements in all types of marks, dimension marks and associative notes in all drawing types.

In mark templates, you can include detailed information of an embed or assembly, such as the sub-material used. Or you can use a template that changes the unit and the number of decimals in measurement values in a mark. You can also add graphical objects using the Template Editor tools.

To add templates in dimension marks or tags, you need to modify the Dimension Properties in an open drawing. You can save the dimension properties, and then take the saved properties into use when you create automatic dimensions.

The size of the templates in part marks is calculated according to the actual size of template contents. Only lines and texts in the template are considered when calculating the exact size. This means, for example, that circles or bitmaps in the template do not have any effect.

Limitations: Mark templates do not support image files like the other graphical drawing templates.

Before you add a template in a mark, ensure that the template you use does not contain any margins.

  1. On the Drawings & reports tab, click Drawing properties and select the drawing type.
  2. Load drawing properties that are as close to the ones you need as possible.
  3. Single-part, assembly and cast unit drawings: Click View creation in the options tree on the left, select the view and the properties that you want to change, and click View properties.
  4. Click the mark type that you want to change.

    For example, click Part mark.

  5. In the mark properties dialog box, double-click the Template element in the Available elements list to add it in the mark.

    This will remove all other elements from the mark.

  6. Select a template from the list in the Mark content - template dialog box.
    If you have not created a template yet, or want to edit the template, you can do that from here by selecting Create new... or Edit...

    Remember that if you edit the template here, the change affects all drawings that have marks containing the changed template.

  7. Click OK to return to mark properties.
  8. Save the mark properties for later using a unique name.
  9. Single-part, assembly and cast unit drawings: Click Save to save the changes in view properties and Close to return to drawing properties.

    General arrangement drawings: Click OK.

  10. Click Save to save the drawing properties, then click OK and create the drawing.
  11. When necessary, copy the saved mark properties files from the <model>\attributes folder into your firm or project folder.
Tip:

The mark templates are by default searched from the following folders in the following order:

%XS_TEMPLATE_DIRECTORY%\mark

ModelDir\mark

%XS_PROJECT%\mark

%XS_FIRM%\mark

%XS_TEMPLATE_DIRECTORY_SYSTEM%\mark

%XS_SYSTEM%\mark

The mark folder name can be changed using the advanced option XS_​TEMPLATE_​MARK_​SUB_​DIRECTORY

Example

Was this helpful?
Previous
Next