Entity: Smart Select (semantic predicate)
entity_select_smartSelect entities in AutoCAD by defining semantic predicates such as entity type, layer, location radius, length range, or color, eliminating the need to memorize handles.
Instructions
Select entities by semantic predicate instead of memorising handles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| predicate | Yes | Predicate dict (all keys optional, AND-ed): type (e.g. 'LINE'), layer (name), near ([x,y,radius]), length_range ([min,max], LINE/ARC only), color (ACI int). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |