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.
Copy Schematic
Signature
typescript
function copySchematic(schematicUuid: string, boardName?: string): Promise<string | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
schematicUuid | string | Source schematic UUID |
boardName | string | (Optional) Name of the board the new schematic belongs to. If not specified, it is a free schematic |
Returns
Promise<string | undefined>
New schematic UUID. If it is undefined, the copy failed
Remarks
If the schematic is already associated with a reuse block (a reuse block symbol with the same name exists in the project library), copying the schematic will also create a new reuse block symbol