eda_pcb_drc_rename_rule_configuration
Rename a custom PCB design rule configuration by specifying the original and new names. Only custom configs can be renamed; system configs are not allowed.
Instructions
pcb_Drc.renameRuleConfiguration(originalConfigurationName: string, configurationName: string) -> Promise 重命名设计规则配置 remarks: 只有自定义配置可以重命名,系统配置不允许重命名 returns: 重命名是否成功
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |