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