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.
Get all dimensions
Signature
typescript
function getAll(
layer?: TPCB_LayersOfDimension,
primitiveLock?: boolean,
): Promise<Array<IPCB_PrimitiveDimension>>;1
2
3
4
2
3
4
Parameters
Parameter | Type | Description |
|---|---|---|
layer | (Optional) Layer | |
primitiveLock | boolean | (Optional) Whether it is locked |
Returns
Promise<Array<IPCB_PrimitiveDimension>>
Dimension primitive object array