eda_pcb_net_get_net_length
Get the total length of a specified net in the PCB editor. Returns the net length, 0 for zero-length nets, or undefined if the net is missing.
Instructions
pcb_Net.getNetLength(net: string) -> Promise<number | undefined>
获取指定网络的长度
returns: 网络长度,undefined 为不存在该网络,0 为网络无长度
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |