Navigator tree
get_navigator_treeRetrieve nodes from Archicad's Project Map, View Map, Layout Book, or Publisher Set to obtain IDs and paths required for viewing, organizing, publishing, or modifying those items.
Instructions
Returns a Navigator tree: Project Map (viewpoints: stories, sections, elevations, interior elevations, worksheets, details, 3D documents, 3D views, schedules, project indexes, lists), View Map (saved views, each with sourceId = its Project Map viewpoint), Layout Book (subsets, layouts with their drawings, master layouts) or a publisher set. Nodes: {id, type, prefix?, name, sourceId?, children?}. With types / nameFilter or format 'flat' you get a flat list {id, type, prefix, name, path, depth, parentId, sourceId, childCount}. The ids are used by get_navigator_items, rename/move/delete_navigator_items, clone_project_map_item_to_view_map, create_layout, get/set_layout_settings and the view/documentation tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Only the subtree below this item id | |
| tree | No | Which tree (default 'ProjectMap') | |
| limit | No | Flat list: maximum items (default 2000) | |
| types | No | Only items of these types (flat list), e.g. ['LayoutItem'] or ['StoryItem','SectionItem'] | |
| format | No | 'tree' (default) or 'flat' | |
| maxDepth | No | Levels below the root to return (0 = root only). Default: all | |
| nameFilter | No | Case-insensitive substring of prefix/ID or name (flat list) | |
| publisherSet | No | Publisher set name for tree 'PublisherSet' (see get_publisher_sets) |