Export Session Script
export_sessionExport all QGIS session changes since server start as a Python script that replays them from the console. Optionally write to a file or start a new journal.
Instructions
Every command that changed something in this QGIS since the plugin's server started (read-only calls left out), as a Python script that replays them from the QGIS Python console. Layer ids are remapped on replay. Returns the script, or writes it to 'path' and returns the path. clear: start a new journal afterwards. Commands from every connected client are in it; a restore_checkpoint rewinds it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| clear | No |