Select by Properties
selection_filterFilter entities in an AutoCAD drawing by properties such as layer, color, linetype, entity type, or minimum area. Returns only matching objects, and reports which filters were applied.
Instructions
AutoCAD's QSELECT: filter the drawing by properties.
Named parameters rather than a query string, deliberately — a mistyped
attribute name in a query language comes back as an empty result, which is
indistinguishable from "no matches". filtered_by reports which filters
actually ran.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ACI colour to match. | |
| layer | No | Layer name. Empty means any. | |
| linetype | No | Linetype name. Empty means any. | |
| min_area | No | Keep only closed shapes with at least this area. | |
| entity_type | No | DXF type, e.g. LWPOLYLINE. Empty means any. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||