Home > SCH_PrimitiveAttribute > getAll
SCH_PrimitiveAttribute.getAll() 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
getAll(parentPrimitiveId?: string): Promise<Array<ISCH_PrimitiveAttribute>>;1
Parameters
Parameter | Type | Description |
|---|---|---|
parentPrimitiveId | string | (Optional) 父图元 ID |
Returns
Promise<Array<ISCH_PrimitiveAttribute>>
属性图元对象数组
Remarks
不传递父图元 ID 将拿到图页中的所有属性图元