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