List databases (plans, sections, layouts ...)
get_databasesLists Archicad databases with references, types, names and layout/view details so you can select valid targets for placing drawings or exports.
Instructions
Lists Archicad databases — the floor plan, sections, elevations, interior elevations, details, worksheets, 3D documents, layouts and master layouts — with databaseRef ("FloorPlan" or a guid), type, name, reference ID, title and the linked marker element. Layouts also get their Layout Book navigatorItemGuid, layoutId, master layout and sheet {width, height, margins} in meters. The databaseRef / navigatorItemGuid values are what place_drawing, get_layout_drawings, update_drawings and the export tools take. includeViews adds, per database, the View Map views that show it (navigatorItemGuid, scale) — the best sources for place_drawing. Also returns the current database/window. Names are localized (Russian Archicad).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | Only these database types (default: all) | |
| search | No | Only databases whose name, reference ID or title contains this text (case-insensitive) | |
| includeViews | No | Add the View Map views of each database (default false) | |
| navigatorItems | No | Also resolve these navigator item guids to their database and scale | |
| includeLayoutInfo | No | Add sheet size/margins/numbering of layouts (default true) |