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