Open project
open_projectOpen an Archicad project file (.pln, .pla, .tpl, .bpn) by path, closing the current project; choose saveFirst or discardChanges for unsaved changes. BIMcloud/Teamwork not supported by path.
Instructions
Opens a project file (.pln, .pla archive, .tpl template → untitled project, .bpn backup), CLOSING the current project. You must decide about unsaved changes: saveFirst: true or discardChanges: true. BIMcloud/Teamwork projects cannot be opened by path. Opening can take minutes and Archicad may show dialogs (e.g. missing libraries). Returns {opened, project}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the file to open | |
| saveFirst | No | Save the current project in place before continuing (fails for untitled projects: use save_project_as first) | |
| discardChanges | No | Continue WITHOUT saving: unsaved changes of the current project are lost. Exactly one of saveFirst / discardChanges must be true | |
| archiveLibraryFolder | No | For .pla archives: folder where the embedded library is extracted (optional) |