Home > PCB_Document > importOldAutoRouteJsonFile
PCB_Document.importOldAutoRouteJsonFile() 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.
导入旧版自动布线文件(JSON)
Signature
typescript
importOldAutoRouteJsonFile(autoRouteFile: File): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
autoRouteFile | File | 欲导入的 JSON 文件 |
Returns
Promise<boolean>
导入操作是否成功
Remarks
可以使用 SYS_FileSystem.openReadFileDialog() 读入文件