Home > PCB_PrimitivePolyline > getAll
PCB_PrimitivePolyline.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(net?: string, layer?: TPCB_LayersOfLine, primitiveLock?: boolean): Promise<Array<IPCB_PrimitivePolyline>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
net | string | (Optional) 网络名称 |
layer | (Optional) 层 | |
primitiveLock | boolean | (Optional) 是否锁定 |
Returns
Promise<Array<IPCB_PrimitivePolyline>>
折线图元对象数组