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