Home > PCB_ManufactureData > getPcbInfoFile
PCB_ManufactureData.getPcbInfoFile() 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.
获取 PCB 信息文件
Signature
typescript
getPcbInfoFile(fileName?: string): Promise<File | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
fileName | string | (Optional) 文件名 |
Returns
Promise<File | undefined>
PCB 信息文件
Remarks
可以使用 SYS_FileSystem.saveFile() 接口将文件导出到本地文件系统
Example
javascript
const pcbInfoFile = await eda.pcb_ManufactureData.getPcbInfoFile('Board_Information');
if (pcbInfoFile) {
await eda.sys_FileSystem.saveFile(pcbInfoFile);
}1
2
3
4
2
3
4