QR Code Data in the LabelXMLExtras File
In This Topic
What is LabelXMLExtras?
The LabelXMLExtras.txt file is a definition of what additional information needs to added to the drawing's DXT file that is created when machining is exported (F8).
It is located in the CabMaster Library folder.
Format of LabelXMLExtras.txt
LabelXMLExtras is a <TAB> delimited text file with each row having 3 columns.
Name<TAB>Type<TAB>Formula
Where:
- Name = resulting property name used in the DXF file for the data (avoid using reserved names such as 'Width', Height' etc)
- Type = data type (one of Text, Integer, Real, Boolean, Image or QRCode). In most cases 'Text' is used for simplicity
- Formula = CabMaster property name or formula that can be evaluated at 'component' level (please call Support for assistance)
In addition to the 3 column TAB delimited rows, 'comment' rows can be added that start with "//" these rows are ignored by the exporter.
Exporting QR Code Data Using LabelXMLExtras
To export a QR code data for each part along with its image and accompanying logo files, add the following rows to the LabelXMLExtras.txt file:
(note that the columns are TAB separated e.g. MyQRText<TAB>Text<TAB>QRTextOut):
MyQRText |
Text |
QRTextOut |
MyQRCode |
QRCode |
QRCodeData |
MyQRImage1 |
Image |
QRLogo1 |
MyQRImage2 |
Image |
QRLogo2 |
The above names MyQRText, MyQRCode, MyQRImage1 and MyQRImage2 can be altered, but not the Types or Formulas.
Example of LabelXMLExtras.txt
Example LabelXMLExtras.txt File
See Also