Project info
get_project_infoRetrieve facts about the open Archicad project and application state. Call before save, open, new, or close operations to verify current project and file details.
Instructions
Returns facts about the open project and Archicad: projectName, untitled (never saved), file {path, fileName, folder, fileType (SoloProject/Archive/Template...), exists, writable}, teamwork + teamworkInfo, current window/database (type, name) and current story (index, name, level), application {mainVersion, buildNumber, language, jsonApiPort...}, special folders (temporary, templates, userDocuments, application, projectTemporary...). Pass includeTemplates: true to also list installed .tpl templates (for new_project). Call this before save/open/new/close operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeTemplates | No | Also scan the templates/defaults folders and return 'templates': [.tpl paths] (slower) |