eda_dmt_pcb_copy_pcb
Copy an existing PCB to create a new board in EasyEDA Pro. Returns the new PCB UUID, or undefined if copying fails.
Instructions
dmt_Pcb.copyPcb(pcbUuid: string, boardName?: string) -> Promise<string | undefined>
复制 PCB
remarks: 即使此处 PCB 已关联复用模块(在工程库内存在同名的复用模块符号),也不新建复用模块符号,此操作逻辑与当前编辑器前端保持一致
returns: 新 PCB UUID,如若为 undefined 则复制失败
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |