eda_pcb_drc_overwrite_net_rules
Overwrite all net rules in the current PCB with a new set, replacing existing DRC settings to apply custom design constraints.
Instructions
pcb_Drc.overwriteNetRules(netRules: Array<Record<string, any>>) -> Promise 覆写网络规则 remarks: 将会覆写当前 PCB 的所有网络规则,请注意数据丢失风险 returns: 覆写是否成功
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |