Import DWG into Template Editor to create custom Title blocks

Tekla Structures
Not version-specific
Tekla Structures
Import DWG into Template Editor to customize Title blocks
Template from DWG
DWG title block
DWG template
AutoCAD Template
Environment
United States (Imperial)
United States (Metric)

Creating the Template


For step-by-step narrated instructions and information about the entire process described below, see the linked video Import DWG into Template Editor to customize Title blocks.

  • While Tekla Structures is open, access the Template Editor either from the File drop-down Menu> Editors> Template editor or within an opened drawing by double-clicking on an existing template (BOM, Title block, etc.) and choosing to edit the template in the Template editor. You can also follow these instructions on Using the Template Editor without opening Tekla Structures.

Image
TemplateEditor2.jpg

  

Image
TemplateEditor.jpg


 

In legacy versions, you can open the Template editor from within Tekla Structures via the Drawings & Reports > Template Editor… menu selection.
 
Image
TemplateEditor13.jpg
  • Once the Template Editor is open, select the icon (or File>New option) to create a New Template. When the New dialog box opens asking to select your Template type, select Graphical template, and click OK. See the linked article on Templates to understand the difference between Graphical and Textual templates. 
Image
TemplateEditor3.jpg
  • All templates must be created inside a Template row so next, add a Row element to the template by clicking on the icon
Image
TemplateEditor4.jpg
  • As explained in the linked article, Content Types are object types in the product database which, in template row definitions, automatically filter out unwanted object types from the output template. In this case, select DRAWING as the Content-Type and click OK.
Image
TemplateEditor5.jpg

 

Image
TemplateEditor6.jpg

 

Once the Row is added, you can begin adding content inside it.

 

  • From the Insert drop-down menu, select File... and browse to select the desired DWG file.
Image
TemplateEditor7.jpg

 

Image
TemplateEditor8.jpg
  • Once the cursor activates, click to select a point inside the row to insert the DWG.
Image
TemplateEditor9.jpg
  • In the Select Import Method window, choose the Scale option and use the default value of 1 initially. This value depends on the units of the DWG and the Template editor. Once the DWG is inserted you can verify that the size is correct. Often the needed conversion value is 25.4 (the conversion factor for millimeters and inches) as described in the linked article Drawing Export Scale Factor for DWG/DXF
Image
TemplateEditor10.jpg

 

If the DWG does not import:
  • Check that the linework is in Model space and not paper space. Tekla Structures does not read information from paper space sheets
  • You may need to save it down to an older DWG format, preferably AutoCAD2000, which removes proxy graphics and is compatible with most versions of Tekla Structures. 
  • You may need to clean extraneous data from the DWG (try WBLOCK, PURGE, or FLATTEN without hiding objects).
  • Once the DWG is imported, all of the drawing's elements are grouped for easier positioning. Select the group or "block," right-click for the context-sensitive menu, and select Ungroup.
Image
TemplateEditor11.jpg

 

Once ungrouped, the elements can be edited or deleted.

 

  • To pull data from the Tekla Structures model or drawing, you will need to add Value Fields into the template. To make it easier to navigate through the contents with your mouse, adjust the Grid's Density... and Snap settings through the Options menu.
Image
TemplateEditor12.jpg
  • From the Insert menu select Value Field and click inside the Row to place it on the drawing. 
Image
TemplateEditor14.jpg

 

Image
TemplateEditor15.jpg
  • Once the Value Field element is inserted, you need to select what data is to be linked. Such data corresponds to the properties in the model or drawing. You can modify the properties for value fields by double-clicking on an item or using the right-click menu when the item is selected.
Image
TemplateEditor16.jpg

  

Image
TemplateEditor17.jpg
  • Add additional fields as desired.
Image
TemplateEditor18.jpg

 

Lastly, when your data fields are in place, you can adjust the template size.

 

  • Select the Row, right-click and use the necessary Crop options to remove excess space.
Image
usa_TFD_18.png

 

Image
usa_TFD_19.png
  • You can save your newly created template to your current model folder, project /firm (if used) folder, or the system folder.
Image
TemplateEditor19.jpg

     


For step-by-step instructions on how to add this or any other customized template into a sheet or Layout, see the linked article Create a Layout from Custom Templates. Also, see Create a new drawing layout, add table layouts and tables for this workflow in legacy versions.


Was this helpful?