eda_sys_file_system_get_eda_path
Retrieve the EDA document directory path to locate design files. Use this path to read, write, or manage project files within the EDA desktop client.
Instructions
sys_FileSystem.getEdaPath() -> Promise
获取 EDA 文档目录路径
remarks: 返回的路径中,结尾不包含斜杠 /(或反斜杠 \)
注意 1:本接口仅客户端有效,在浏览器环境内调用将始终 throw Error
注意 2:本接口需要使用者启用扩展的外部交互权限,如若未启用将始终 throw Error
returns: EDA 文档目录路径
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |