Home > LIB_Footprint > copy
LIB_Footprint.copy() 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 Footprint
Signature
typescript
function copy(
footprintUuid: string,
libraryUuid: string,
targetLibraryUuid: string,
targetClassification?: ILIB_ClassificationIndex | Array<string>,
newFootprintName?: string,
): Promise<string | undefined>;1
2
3
4
5
6
7
2
3
4
5
6
7
Parameters
Parameter | Type | Description |
|---|---|---|
footprintUuid | string | Footprint UUID |
libraryUuid | string | Library UUID, you can use LIB_LibrariesList APIs in |
targetLibraryUuid | string | Target library UUID |
targetClassification | ILIB_ClassificationIndex | Array<string> | (Optional) Classification in the target library |
newFootprintName | string | (Optional) New footprint name. If a footprint with the same name exists in the target library, the copy will fail |
Returns
Promise<string | undefined>
UUID of the new footprint in the target library