eda_sys_file_manager_get_document_source
Obtain the source code of the currently open EasyEDA Pro document. Returns undefined when no document is open or data cannot be fetched.
Instructions
sys_FileManager.getDocumentSource() -> Promise<string | undefined>
获取文档源码
returns: 文档源码数据,undefined 表示当前未打开文档或数据获取失败
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |