eda_dmt_editor_control_zoom_to_region
Zoom the EDA canvas to a specified rectangular region using left, right, top, and bottom coordinates. Works across schematic, symbol, PCB, and package editors with unit-specific scaling.
Instructions
dmt_EditorControl.zoomToRegion(left: number, right: number, top: number, bottom: number, tabId?: string) -> Promise 缩放到区域 remarks: 在原理图、符号画布坐标单位跨度为 0.01inch,在 PCB、封装画布坐标单位跨度为 mil returns: 操作是否成功
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |