Home > DMT_Schematic > copySchematic
DMT_Schematic.copySchematic() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
复制原理图
Signature
typescript
copySchematic(schematicUuid: string, boardName?: string): Promise<string | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
schematicUuid | string | 源原理图 UUID |
boardName | string | (Optional) 新原理图所属板子名称,如若不指定则为游离原理图 |
Returns
Promise<string | undefined>
新原理图 UUID,如若为 undefined
则复制失败
Remarks
如若原理图已关联复用模块(在工程库内存在同名的复用模块符号),则复制原理图时将同步新建复用模块符号