Home > PCB_ManufactureData > getOldAutoLayoutJsonFile
PCB_ManufactureData.getOldAutoLayoutJsonFile() 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.
Warning: This API is now obsolete. 建议使用 PCB_ManufactureData.getAutoLayoutJsonFile() 接口提供的自动布局文件
获取旧版自动布局文件(JSON)
Signature
typescript
getOldAutoLayoutJsonFile(fileName?: string): Promise<File | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
fileName | string | (Optional) 文件名 |
Returns
Promise<File | undefined>
旧版自动布局 JSON 文件数据
Remarks
可以使用 SYS_FileSystem.saveFile() 接口将文件导出到本地文件系统