pcb_get_trace_lengths
Calculates total routed track length per net on the active PCB, optionally filtered by net, to support length matching and differential pair balance checks.
Instructions
Get total routed track length per net on the active PCB.
Sums all track segment lengths for each net. Useful for length matching analysis and checking differential pair balance.
Args: net: Optional net name filter. If provided, only returns the length for that specific net. Empty = all nets.
Returns: Dictionary with "trace_lengths" array (each with net name and length_mils) and "net_count"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||