Find elements by criteria
find_elementsSearch Archicad model elements by property conditions and element types, combining filter groups with AND/OR logic. Returns matching element GUIDs and counts for QA and validation workflows.
Instructions
Find elements matching criteria groups. Groups combine with OR; inside a group the comparisons combine with logical_operator 'and' (default) or 'or'. Each group may restrict element types (is / is_not) and lists comparisons of {property, operator, value}; the schema enumerates the element types and the 22 operators, and each field documents its values and units. Call search_definitions to find a property's exact address. An element with no usable value matches no binary operator. Returns GUIDs, counts, how many elements had properties read, and 'coverage' ('whole-plan' with Tapir, 'model-elements-only' without: then 2D elements are invisible and 0 is not proof of absence). Property comparisons read values in the server (no API filters by property); a read spanning more than the element ceiling is refused, so narrow with element_types, story or classification first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| groups | Yes | ||
| selection_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||