Home > SYS_Tool > pcbComparison
SYS_Tool.pcbComparison() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
PCB comparison
Signature
function pcbComparison(
pcb1: string | { projectUuid: string; pcbUuid: string } | File,
pcb2: string | { projectUuid: string; pcbUuid: string } | File,
options?: {
valUnit?:
| undefined
| ESYS_Unit.MILLIMETER
| ESYS_Unit.CENTIMETER
| ESYS_Unit.INCH
| ESYS_Unit.MIL;
deviation?: undefined | number;
comparisonSize?: undefined | number;
},
): Promise<ISYS_PcbComparisonResponse>;2
3
4
5
6
7
8
9
10
11
12
13
14
Parameters
Parameter | Type | Description |
|---|---|---|
pcb1 | string | { projectUuid: string; pcbUuid: string } | File | PCB 1, which can be: 1. The UUID of a PCB in the current project; 2. The project UUID and PCB UUID of another project; 3. PCB file data |
pcb2 | string | { projectUuid: string; pcbUuid: string } | File | PCB 2, which can be: 1. The UUID of a PCB in the current project; 2. The project UUID and PCB UUID of another project; 3. PCB file data |
options | { valUnit?: undefined | ESYS_Unit.MILLIMETER | ESYS_Unit.CENTIMETER | ESYS_Unit.INCH | ESYS_Unit.MIL; deviation?: undefined | number; comparisonSize?: undefined | number } | (Optional) Comparison options |
Returns
Promise<ISYS_PcbComparisonResponse>
PCB comparison response: when success = true, data is the comparison result; when success = false, error contains the error code and message
Remarks
ADD since EDA v4.2