Classification tree
get_classification_treeRetrieve Archicad classification items as a nested tree or flat list with full paths, filter by root, search, and depth to find item GUIDs/ids for element classification.
Instructions
Returns the items of a classification system as a tree ({guid, id, name?, children?}) or, with search / format 'flat', as a flat list with full paths ('Parent > Child') and depth. Item ids are what Archicad shows (localized in Russian Archicad, e.g. 'Стена', 'Перекрытие'). Use root to get one branch and maxDepth to limit large systems (childCount tells what was cut). The item GUIDs/ids are used by set_element_classifications, get_elements_by_classification and get_classification_item_details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Return only the branch below this item | |
| limit | No | Flat/search results: max items (default 500) | |
| format | No | 'tree' (default) nested children, 'flat' list with paths | |
| search | No | Case-insensitive substring of item id, name or description; returns a flat list of matches | |
| system | No | Classification system name (e.g. 'Классификация Archicad') or GUID; may be omitted when the project has only one system | |
| maxDepth | No | Levels to return (1 = top-level items only). Default: all | |
| includeDescriptions | No | Include item descriptions (default false; can be long) |