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?: ESYS_Unit.MIL | ESYS_Unit.MILLIMETER | ESYS_Unit.INCH | ESYS_Unit.CENTIMETER;
deviation?: number;
comparisonSize?: number;
},
): Promise<ISYS_ComparisonResponse>;2
3
4
5
6
7
8
9
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?: ESYS_Unit.MIL | ESYS_Unit.MILLIMETER | ESYS_Unit.INCH | ESYS_Unit.CENTIMETER; deviation?: number; comparisonSize?: number; } | (Optional) 对比参数 |
Returns
Promise<ISYS_ComparisonResponse>
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 v3.2.205 / EDA v4.1.62