eda_dmt_schematic_copy_schematic
Copy a schematic by its UUID to create a new duplicate, optionally specifying a board name. Returns the new schematic's UUID and also copies any linked reusable module symbols.
Instructions
dmt_Schematic.copySchematic(schematicUuid: string, boardName?: string) -> Promise<string | undefined>
复制原理图
remarks: 如若原理图已关联复用模块(在工程库内存在同名的复用模块符号),则复制原理图时将同步新建复用模块符号
returns: 新原理图 UUID,如若为 undefined 则复制失败
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |