eda_pcb_layer_overwrite_current_physical_stacking_configuration
Replace the PCB's current physical layer stacking with a new configuration. Validates compatibility before applying, returning false if unchanged.
Instructions
pcb_Layer.overwriteCurrentPhysicalStackingConfiguration(physicalStackingConfiguration: IPCB_PhysicalStackingConfiguration) -> Promise 覆写当前物理叠层配置 remarks: 将会覆写 PCB 当前的物理叠层配置,请注意数据丢失风险
如果传入的物理叠层配置不符合当前 PCB 的物理属性,将会直接返回 false 且不进行修改
ADD since EDA v4.2 returns: 覆写是否成功
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "eda_pcb_layer_overwrite_current_physical_stacking_configuration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |