eda_sys_file_manager_get_schematic_file
Fetch the schematic file data from an open EasyEDA Pro project, optionally specifying file name, password, and format (epro/epro2). Returns undefined when no schematic is open or retrieval fails.
Instructions
sys_FileManager.getSchematicFile(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;省略时使用当前活动窗口 |