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