Home > PCB_Drc > overwriteRegionRules
PCB_Drc.overwriteRegionRules() 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.
覆写区域规则
Signature
typescript
overwriteRegionRules(regionRules: Array<{
[key: string]: any;
}>): Promise<boolean>;
1
2
3
2
3
Parameters
Parameter | Type | Description |
---|---|---|
regionRules | Array<{ [key: string]: any; }> | 区域规则 |
Returns
Promise<boolean>
覆写是否成功
Remarks
将会覆写当前 PCB 的所有区域规则,请注意数据丢失风险