DataMatrix

Tekla Structures
Not version-specific
Tekla Structures
DataMatrix
Data Matrix
Environment
Not environment-specific

Back to top

Purpose and description

This extension allows you to create DataMatrix in drawings and reports.

 

 

Back to top

System requirements

 

 

Tekla Structures Versions: 2016 and above
.NET Framework version: 4.5.2
Environments:  All
Back to top

DataMatrix installation

To install the application:

If Tekla Structures is not running:

    Download the appropriate TSEP (Tekla Structures Extension Package) file from Tekla Warehouse.
    Double-click on the saved .tsep file.
    In the Tekla Structures extension manager, check the version(s) you want to install the extension to.
    Click Import.
    Start Tekla Structures.

If Tekla Structures is running:

    Download the appropriate TSEP (Tekla Structures Extension Package) file from Tekla Warehouse.
    Click the menu button in the Applications & components side pane and select Extension manager.
    Click Import.
    Select the .tsep file and click Open.
    Restart Tekla Structures to complete installation.


Download the DataMatrix Add-on too. You'll find it in the model folder or in a special location you set.Unzip it.
It contains a sample list and 3 graphics templates. Copy them in the folder of your model or your Firm folder.
You can change them as needed.
Back to top

DataMatrix usage

To use the application:
 
Creating DataMatrix in drawings:


Add the templates provided in your drawings arrangements.
 
3 templates are provided:

DATAMATRIX_DRAWING_A.TPL for assemblies drawings
DATAMATRIX_DRAWING_W.TPL ingle parts drawings
DATAMATRIX_DRAWING_C.TPL for cast unit drawings

 
Creating DataMatrix in reports:
 
The DataMatrix can only be generated in templates .xls.rpt
Copy the following valuefields in your template:
 
Image
2015-11-13_14h03_29.png
The green valuefield uses CUSTOM.DATAMATRIX_REPORT_A. It creates the picture DataMatrix.
DATAMATRIX_REPORT_A.TPL for assemblies
DATAMATRIX_
REPORT_W.TPL for single parts
DATAMATRIX_
REPORT_C.TPL for cast unit parts

The red valuefield call picture created earlier.
Back to top

 DataMatrix content settings

6 files are installed in the System folder of the Common environment.
It manages content of DataMatrix:


DataMatrix_Drawing_A.dat manages the content of DataMatrix for assembly drawings
DataMatrix_Drawing_W.dat manages the content of DataMatrix for single part drawings
DataMatrix_Drawing_C.dat manages the content of DataMatrix for cast unit drawings
DataMatrix_Report_A.dat manages the content of DataMatrix for assemblies
DataMatrix_Report_W.dat manages the content of DataMatrix for parts
DataMatrix_Report_Cdat manages the content of DataMatrix for cast unit


Setting files:

Only non-empty lines or not starting with // are read
In this example, only the lines 22-24 are read.

 

Image
2015-11-13_15h52_14.png

Each line consists of five values separated by tabs (so 4 tabs in a line).
The first value is the attribute of the template editor you want to display (ASSEMBLY_POS, PROJECT.NAME, etc ...).
The second value is the data type (FLOAT for a number with decimal, INTEGER for an integer number, CHARACTER for a character string or DATE for a date).
The third value is the number of decimals if FLOAT is selected, or the date format if DATE is chosen (mm.dd.yyyy for example).
The fourth value is a multiplier. It allows to change the unit. The default value is 1.
The fifth value is the separator between the different values (lines).

These files can be copied in the model folder, in the Firm folder or any other folder read by Tekla Structures.
Back to top

 DataMatrix size settings

Size of the  DataMatrix in drawings:
 
The size of the picture can be changed in the template editor:

 

 

 

 

Image
2015-11-13_14h08_25.png

 


Size of the DataMatrix in reports:

The size of the picture can be changed in the template editor in the valuefield DATAMATRIX_BMP:

 

 

Image
2015-11-13_14h11_29.png

 

 

 

Back to top
Was this helpful?