Numerical Matrix Format
User Reference
COMPARE_LAYERS array

MATRIX Array Level: 1

The COMPARE_LAYERS array is used to compare and find the differences between two layers in the same cell.

Note
If you wish to compare layers between the same cell, use COMPARE_JOBS array
Fields in the COMPARE_LAYERS array
Description
JOB=NAME The name of the Job to perform the layer comparison. Required. Dynamic Job References are also supported.
LAYER_1=NAME First layer to compare.
LAYER_2=NAME Second layer to compare.
LAYER_TYPE=VALUE Layer Types to compare.
METHOD=BLEND|XOR Display method to use when outputting an image of the compared layers. (Default: BLEND)
units=MM|INCH|MIL Units to use for the compare minimum error size and reports. (Default: MM)
MinErrorSize=SIZE Assign the smallest value that will be considered a comparison error. (Default: 0.1mm)
MaxErrorCount=NUM Maximum number of comparison errors to highlight. (Default: 50)
output_pdf_file=LOCATION File path for the layer comparison error report file in PDF format (with embedded images). The path may be either Absolute or Relative.
output_text_file=LOCATION File path for the layer comparison error report text file. The path may be either Absolute or Relative.

Example COMPARE_LAYERS Array:

COMPARE_LAYERS {
JOB=MyCoolDesign
LAYER_1=topsidecopper.gbr
LAYER_2=topsidecopper_modified.gbr
METHOD=Blend
UNITS=mm
MinErrorSize=0.1
output_text_file=myFilesOutput/Reports/comparelayer_topside.txt
}

XML example:

<COMPARE_LAYERS>
<JOB>MyCoolDesign</JOB>
<LAYER_1>topsidecopper.gbr</LAYER_1>
<LAYER_2>topsidecopper_modified.gbr</LAYER_2>
<METHOD>Blend</METHOD>
<UNITS>mm</UNITS>
<MinErrorSize>0.1</MinErrorSize>
<output_text_file>myFilesOutput/Reports/comparelayer_topside.txt</output_text_file>
</COMPARE_LAYERS>

JSON example:

"COMPARE_LAYERS": {
"JOB": "MyCoolDesign",
"LAYER_1": "topsidecopper.gbr",
"LAYER_2": "topsidecopper_modified.gbr",
"METHOD": "Blend",
"UNITS": "mm",
"MinErrorSize": 0.1,
"output_text_file": "myFilesOutput/Reports/comparelayer_topside.txt"
}