eda_sys_unit_get_frontend_data_unit
Retrieves the current unit of measurement for the EDA frontend, compatible with schematic and PCB canvases, to identify the active unit for design operations.
Instructions
sys_Unit.getFrontendDataUnit() -> Promise<ESYS_Unit | undefined> 获取 EDA 前端数据单位跨度 remarks: 此处指的是前端用户可以切换的单位,需要同时兼容原理图和 PCB 画布 returns: 单位
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |