eda_sys_file_manager_get_document_file
Retrieves the currently open document file from EasyEDA Pro using optional filename, password, and file type parameters. Returns file data as a File object, or undefined when no document is open.
Instructions
sys_FileManager.getDocumentFile(fileName?: string, password?: string, fileType?: 'epro' | 'epro2') -> Promise<File | undefined>
获取文档文件
returns: 文档文件数据,undefined 表示当前未打开文档或数据获取失败
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |