Home > PCB_ManufactureData > getIpc2581CFile
PCB_ManufactureData.getIpc2581CFile() 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.
获取 IPC-2581C 文件
Signature
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
Parameters
Parameter | Type | Description |
|---|---|---|
fileName | string | (Optional) 文件名 |
fileType | 'xml' | 'cvg' | '2581' | (Optional) |
unit | (Optional) | |
oemNumber | 'Device' | 'Manufacturer Part' | 'Supplier Part' | 'Comment' | (Optional) |
Returns
Promise<File | undefined>
IPC-2581C 文件数据
Remarks
可以使用 SYS_FileSystem.saveFile() 接口将文件导出到本地文件系统