Home > LIB_3DModel > copy
LIB_3DModel.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.
复制 3D 模型
Signature
typescript
copy(modelUuid: string, libraryUuid: string, targetLibraryUuid: string, targetClassification?: ILIB_ClassificationIndex, newModelName?: string): Promise<string | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
modelUuid | string | 3D 模型 UUID |
libraryUuid | string | 库 UUID,可以使用 LIB_LibrariesList 内的接口获取 |
targetLibraryUuid | string | 目标库 UUID |
targetClassification | (Optional) 目标库内的分类 | |
newModelName | string | (Optional) 新 3D 模型名称,如若目标库内存在重名 3D 模型将导致复制失败 |
Returns
Promise<string | undefined>
目标库内新 3D 模型的 UUID