items_in_region
Identify footprints, tracks, vias, zones, and text inside a rectangular area defined by millimeter coordinates, optionally filtered by layer name.
Instructions
What lies inside a rectangle (mm corners): footprints, tracks per net/layer, vias, zones, text. Optional layer name (e.g. "F.Cu", "B.Silkscreen") restricts the answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| path | No | ||
| layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |