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.
Check DRC
Signature
typescript
function check(
strict: boolean,
userInterface: boolean,
includeVerboseError: true,
): Promise<Array<any>>;1
2
3
4
5
2
3
4
5
Parameters
Parameter | Type | Description |
|---|---|---|
strict | boolean | Whether strict checking is enabled. The current PCB is uniformly in strict checking mode |
userInterface | boolean | Whether to show the UI (open the bottom DRC window) |
includeVerboseError | true | Whether to include detailed error information in the return value. If it is |
Returns
Promise<Array<any>>
Detailed results of the DRC check