Home > PCB_PrimitiveDimension > getAll
PCB_PrimitiveDimension.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(layer?: TPCB_LayersOfDimension, primitiveLock?: boolean): Promise<Array<IPCB_PrimitiveDimension>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
layer | (Optional) 层 | |
primitiveLock | boolean | (Optional) 是否锁定 |
Returns
Promise<Array<IPCB_PrimitiveDimension>>
尺寸标注图元对象数组