This extension allows to create Qr codes in drawings and reports.
Tekla Structures Version: 21.1 and above
.NET Framework version: 4.5.2
To install the application:
1. Close Tekla Structures
2. Install the application using the installation package.
3. Open Tekla Structures.
4. You will find on your desktop a Qr file code Add-on.zip. Unzip it.
It contains a sample list and 3 graphic templates to copy to your template folder or Firm folderfolder that is used for storing Tekla Structures-related files customized for a particular organization
A Tekla Structures user can, for example, customize a company’s cloning templates and save them in a sub-folder located under the firm folder. After this, the customized cloning templates can be used in all projects carried out for the company.
You can modify them as you wish.
Using the application:
Display Qr codes in drawings:
Add the templates provided to your drawing arrangements:
3 templates provided:
QRCODE_DRAWING_A.TPL for Assembly drawings
QRCODE_DRAWING_W.TPL for Single part drawings
QRCODE_DRAWING_C.TPL for Cast Unit drawings
Display Qr codes in reports:
Qr Codes can only be generated in .xls.rpt templates
Copy the value fields below into your template:
The green value field uses the attribute CUSTOM.QRCODE_REPORT_A. It creates the Qr Code picture.
QRCODE_REPORT_A.TPL for assemblies
QRCODE_REPORT_W.TPL for parts
QRCODE_REPORT_C.TPL for cast units
The red value field calls the previously image created.
6 files are installed in the System folderfolder that is used for storing files that define default settings
of the Common environmentTekla Structures environment that forms a basis for other environments
The common environment is included in the software installation and includes the global settings, macros, symbols, items, and fonts, for example. The common environment is not used as basis in the US Imperial and US Metric environments.
It manage the Qr codes content
Qr_Code_Drawing_A.dat manages the content of Qr Codes for Assembly drawings
Qr_Code_Drawing_W.dat manages the content of Qr Codes for Single part drawings
Qr_Code_Drawing_C.dat manages the content of Qr Codes for Cast Unit drawings
Qr_Code_Report_A.dat manages the content of Qr Codes for assemblies
Qr_Code_Report_W.dat manages the content of Qr Codes for parts
Qr_Code_Report_C.dat manages the content of Qr Codes for cast units
Only lines that are not empty or do not begin with // are read
In this example only lines 22 to 24 are read.
Each line is composed of 5 values separated by a tabulation(4 tabs per line).
The 1st value is the attribute of the template editortool in Tekla Structures used for creating and modifying templates to be used in drawings and reports
you want to display (ASSEMBLY_POS, PROJECT.NAME, etc...).
The 2nd value is the type of data (FLOAT for a number with decimal, INTEGATE for an integer, CHARACTER for a string of characters or DATE for a date).
The 3rd value is the number of decimals if FLOAT is chosen, or the date format if DATE is chosen (mm.dd.yyyyy for example).
The 4th value is a multiplier. It allows you to change units. The default value is 1.
The 5th value is the separator between the different values.
Files set can be copied to the model folderfolder that is used for storing files associated with a model
Tekla Structures stores all files associated with a model in a folder it creates with the same name as the model database (.db1).
In multi-user mode all users access the same model folder.
, the Firm folder or any other folder read by Tekla Structures.
Qr Code size into drawings:
Picture size could be modify in the template editor:
Qr Code size in reports:
The image size can be changed in the template editor in the QR_BMP value field: