Browse attribute folders
get_attribute_foldersBrowse Archicad attribute folders recursively to get folder GUIDs, subfolders, and attributes. Use these paths and GUIDs for folder operations like create, rename, or move.
Instructions
Browses the folder structure of an attribute type (Attribute Manager folders): a folder's GUID, its attributes {guid, name} and subfolders, recursively up to depth. Paths are arrays of folder names from the root (localized). Output: {attributeType, path, guid, attributes, subfolders: [{path, guid, attributes?, subfolders?, subfolderCount?}]}. Use the folder paths/GUIDs with create/delete/rename_attribute_folder(s) and move_attributes_to_folder; attribute details come from get_attributes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Subfolder levels to expand (default 1; 0 = only this folder) | |
| folder | No | Folder to open (default: root) | |
| attributeType | Yes | Attribute type: BuildingMaterial, Composite, Fill, Layer, LayerCombination, Line, PenTable, Profile, Surface or ZoneCategory | |
| includeAttributes | No | List attributes {guid, name} of each expanded folder (default true); false = only counts |