Home > LIB_3DModel > create
LIB_3DModel.create() 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
create(libraryUuid: string, modelFile: Blob, classification?: ILIB_ClassificationIndex, unit?: ESYS_Unit.MILLIMETER | ESYS_Unit.CENTIMETER | ESYS_Unit.METER | ESYS_Unit.MIL | ESYS_Unit.INCH): Promise<string[] | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
libraryUuid | string | 库 UUID,可以使用 LIB_LibrariesList 内的接口获取 |
modelFile | Blob | 3D 模型文件数据 |
classification | (Optional) 分类 | |
unit | ESYS_Unit.MILLIMETER | ESYS_Unit.CENTIMETER | ESYS_Unit.METER | ESYS_Unit.MIL | ESYS_Unit.INCH | (Optional) |
Returns
Promise<string[] | undefined>
3D 模型 UUID