select_window
Box-select visible CAD entities within a rectangular window and summarize counts by type and layer, with optional type/layer filters and crossing or containment modes.
Instructions
Box-select visible objects and summarise what is inside (counts by type and layer).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x0 | Yes | ||
| x1 | Yes | ||
| y0 | Yes | ||
| y1 | Yes | ||
| type | No | Only this entity type, e.g. Line, Circle, Text, Polyline, Insert | |
| layer | No | ||
| coords | No | 'px' = pixels of the last image, 'world' = drawing units | px |
| crossing | No | True: touching the box counts; False: must be fully inside |