PCB_Drc.check() 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.
检查 DRC
Signature
typescript
check(strict: boolean, userInterface: boolean, includeVerboseError: true): Promise<Array<any>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
strict | boolean | 是否严格检查,当前 PCB 统一为严格检查模式 |
userInterface | boolean | 是否显示 UI(呼出底部 DRC 窗口) |
includeVerboseError | true | 是否在返回值中包含详细错误信息,如若为 |
Returns
Promise<Array<any>>
DRC 检查的详细结果