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