eda_sch_document_auto_layout
Automatically arrange schematic components in EasyEDA Pro to organize your design. Optionally pass component UUIDs or a netlist to layout only specific parts.
Instructions
sch_Document.autoLayout(props?: { uuids?: Array; netlist?: { component: Record<string, { pinInfoMap: Record<string, { name: string; number: string; net: string; props: { 'Pin Number': string } }> }> }; designatorDeviceTypeMap?: Record<string, 'resistor' | 'capacitor' | 'inductive' | 'diode' | 'triode' | 'oscillator' | 'chip' | 'otherDevice'> }) -> Promise 自动布局 remarks: 如不传入任何参数,将对所有器件进行自动布局 returns: 自动布局结果
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |