Save elements as module (.mod)
export_moduleSaves Archicad elements or the current selection as a .mod module file, enabling hotlinking and merging into other projects.
Instructions
Saves elements (or the current selection) as an Archicad module file (.mod) — the file format for hotlinked modules (place_hotlink) and for merging into other projects (merge_file). All elements must be in one database (floor plan, or one section/detail/worksheet). Returns {file: {path, sizeBytes}, elementCount}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute output path ending in .mod, e.g. /private/tmp/claude-connector-tests/core.mod | |
| elements | No | Elements to save | |
| overwrite | No | Replace an existing file (default false: existing files are an error) | |
| useSelection | No | Save the current selection instead | |
| createFolders | No | Create missing parent folders (default false) |