Home > PCB_PrimitiveAttribute > getAll
PCB_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, layer?: TPCB_LayersOfImage, primitiveLock?: boolean): Promise<Array<IPCB_PrimitiveAttribute>>;1
Parameters
Parameter | Type | Description |
|---|---|---|
parentPrimitiveId | string | (Optional) 关联的父图元 ID |
layer | (Optional) 层 | |
primitiveLock | boolean | (Optional) 是否锁定 |
Returns
Promise<Array<IPCB_PrimitiveAttribute>>
属性图元对象数组