Home > PCB_ManufactureData > getIpc2581CFile
PCB_ManufactureData.getIpc2581CFile() method
此 API 当前处于 BETA 预览状态,希望得到开发者的反馈。它的任何功能都可能在接下来的开发进程中被修改,请不要将它用于任何正式环境。
获取 IPC-2581C 文件
签名
typescript
getIpc2581CFile(fileName?: string, fileType?: 'xml' | 'cvg' | '2581', unit?: ESYS_Unit.INCH | ESYS_Unit.MILLIMETER, oemNumber?: 'Device' | 'Manufacturer Part' | 'Supplier Part' | 'Comment'): Promise<File | undefined>;1
参数名
参数 | 类型 | 描述 |
|---|---|---|
fileName | string | (可选) 文件名 |
fileType | 'xml' | 'cvg' | '2581' | (Optional) |
unit | (Optional) | |
oemNumber | 'Device' | 'Manufacturer Part' | 'Supplier Part' | 'Comment' | (Optional) |
返回值
Promise<File | undefined>
IPC-2581C 文件数据
备注
可以使用 SYS_FileSystem.saveFile() 接口将文件导出到本地文件系统