Changing Templates for BOM Evaluation 

Use

The drawing text file (*.TXT), which contains information on the parts in the drawing, is required for outputting the BOM as an ASCII file, as is the template file (*.MSK), which determines the output format. These files are text files, and the data they contain is unencrypted and in ASCII format. You can view and edit these files in an editor.

All of the rows in the template file start in the first column, and end with a return character. You should bear this in mind, since the template file is processed row by row (although the final character of a line is removed in most cases). Any undesirable side effects that can result from incorrect syntax are dealt with in the individual topics of this documentation.

The template file is divided up into several processing groups. The beginning of a processing group is represented by a line beginning with the character "/" followed by a character string that designates the processing group in question. The lines that identify the start of the processing groups, and the command lines that follow them are sometimes obligatory, and sometimes you can leave them out (e.g. command lines).

Sequence of Processing Groups

The lines of the processing groups that are specified between ‘%’ (and the command lines that follow them) can be left out. Even if they are specified and are not followed by command lines, this will not result in an error.

Please note that, in the documentation on the syntax of the command lines, syntax elements that can be left out are preceded and succeeded by the character ‘%’. You should formulate command lines on a single line.

You should not deviate from the following sequence of processing groups in the template file. If you do, this might lead to unexpected results in the BOM printout, or to errors.

/type

/sort

/group

/math

/definition

/start,

/header

/line

/filler

/footer

/end

/ system

/accu

/prec

/* Comments

Fixed identifiers

Formatting

Print Formats