Home > LIB_SimulationModel > create
LIB_SimulationModel.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.
创建仿真模型
Signature
typescript
public create(libraryUuid: string, model: { modelType: 'Ngspice' } & ({ modelFile: Blob; modelName?: undefined | string; modelCategory?: undefined | string; modelPin?: undefined | string } | { modelData: string; modelName?: undefined | string; modelCategory?: undefined | string; modelPin?: undefined | string }), classification?: Array<string>, description?: string): Promise<string | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
libraryUuid | string | 库 UUID,可以使用 LIB_LibrariesList 内的接口获取 |
model | { modelType: 'Ngspice' } & ({ modelFile: Blob; modelName?: undefined | string; modelCategory?: undefined | string; modelPin?: undefined | string } | { modelData: string; modelName?: undefined | string; modelCategory?: undefined | string; modelPin?: undefined | string }) | 仿真模型数据 |
classification | Array<string> | (Optional) 分类 |
description | string | (Optional) 描述 |
Returns
Promise<string | undefined>
仿真模型 UUID
Remarks
ADD since EDA v3.2.167