Home > SCH_Primitive > getPrimitiveTypeByPrimitiveId
SCH_Primitive.getPrimitiveTypeByPrimitiveId() 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.
获取指定 ID 的图元的图元类型
Signature
typescript
getPrimitiveTypeByPrimitiveId(id: string): Promise<ESCH_PrimitiveType | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
id | string | 图元 ID |
Returns
Promise<ESCH_PrimitiveType | undefined>
图元类型