eda_sch_primitive_component_place_symbol_with_mouse
Place a schematic symbol by binding it to the mouse cursor, then click on the canvas to drop it. Returns true once the symbol is attached, without waiting for the placement.
Instructions
sch_PrimitiveComponent.placeSymbolWithMouse(symbol: { libraryUuid: string; uuid: string } | ILIB_SymbolItem | ILIB_SymbolSearchItem, subPartName?: string, properties?: Record<string, boolean | number | string | undefined>) -> Promise 使用鼠标放置符号 remarks: ADD since API v0.2.26
本接口模拟前端点击放置按钮,指定的符号将绑定到当前鼠标,并在用户后续点击时放置于画布
本接口的返回时机并不会等待用户的放置操作,一旦符号被绑定到鼠标,本接口将立即返回 true 的结果
returns: 是否找到符号
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |