Rename navigator item
rename_navigator_itemRename Archicad navigator items such as views, layouts, or subsets by specifying a new name or ID. Returns confirmation and alerts if Archicad keeps a different name or ID.
Instructions
Renames a navigator item (view, View Map folder, layout, subset, viewpoint...): new name and/or new ID (the prefix shown before the name, e.g. layout number '03' or subset ID 'АР'). Pass at least one of newName / newId. The item is read back from the Layout Book / View Map / Project Map: output {ok, id, tree, prefix, name, warning?} — warning tells when Archicad kept a different name/ID (for sheet numbers of layouts prefer set_layout_settings {customLayoutNumbering: true, customLayoutNumber}). A new ID of an auto-numbered SUBSET does not last: Archicad recomputes it on the next Layout Book change. For a lasting subset ID create the subset with create_layout_subset {customNumbering: true, customNumber} and move the layouts into it (move_navigator_item).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | Navigator item id (the 'id' GUID from get_navigator_tree) | |
| newId | No | New ID / prefix ('' clears it where allowed) | |
| newName | No | New name |