project_new
Replace the current QGIS project with a new empty project. Discards all layers and settings; requires confirmation if unsaved changes exist.
Instructions
Replace the open project with a new, empty one.
Discards all layers and settings from the current project. If it has
unsaved changes, the call fails with a ProjectDirty error unless force
is set - confirm with the user before forcing a discard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||