New project
new_projectCreates a new untitled Archicad project, closing the current one. Start from a .tpl template or reset to defaults; choose saveFirst or discardChanges for unsaved work.
Instructions
Creates a new untitled project, CLOSING the current one: from a template (.tpl path — list installed ones with get_project_info {includeTemplates: true}) or with File > New (reset: true = New & Reset, i.e. default settings). You must decide about unsaved changes: saveFirst: true or discardChanges: true. Returns {created, project}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | Without template: New & Reset (all settings back to defaults). Default false | |
| template | No | Absolute path of a .tpl template to start from | |
| 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 |