Home > PCB_Net > getNetlist
PCB_Net.getNetlist() 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
getNetlist(type?: ENetlistType): Promise<string | Array<string>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
type | (Optional) 网表格式 |
Returns
Promise<string | Array<string>>
网表数据,当 type 为 JLCEDA
或 EasyEDA
时,返回值为数组