Add "View Output Layers" option for model child algorithms (Request in QGIS)
Request for documentation
From pull request qgis/QGIS#57178 Author: @nyalldawson QGIS version: 3.38
**Add "View Output Layers" option for model child algorithms **
PR Description:
When editing a model through the designer (and after having run that model), you can now right click any child step in the model and select "View Output Layers". This will add the output layers from that step as new layers in the current QGIS project.
This action is available for ALL child algorithms in the model, even if the model is not configured to use the outputs from those children as model outputs.
This is designed as a helpful debugging action. If a user's model fails (or gives unexpected results), they can then trace through the model and view the outputs for suspected problematic steps. It avoids the need to add temporary outputs to a model and re-run to test.
Additionally, this action is always available after running the model, EVEN if the model itself failed (eg because of a misconfigured step later in the model).
Sponsored by City of Canning
Now also contains a "View Log" action, so that you can see the log for each child after you've closed down the algorithm dialog:
https://github.com/qgis/QGIS/assets/1829991/44fe7e68-d70f-4f16-81f7-70f56748751a
Commits tagged with [need-docs] or [FEATURE]
"[feature] Add "View Output Layers" option for model child algorithms\n\nWhen editing a model through the designer (and after having run\nthat model), you can now right click any child step in the model\nand select "View Output Layers". This will add the output layers\nfrom that step as new layers in the current QGIS project.\n\nThis action is available for ALL child algorithms in the model,\neven if the model is not configured to use the outputs from those\nchildren as model outputs.\n\nThis is designed as a helpful debugging action. If a user's model\nfails (or gives unexpected results), they can then trace through\nthe model and view the outputs for suspected problematic steps.\nIt avoids the need to add temporary outputs to a model and re-run\nto test.\n\nAdditionally, this action is always available after running the model,\nEVEN if the model itself failed (eg because of a misconfigured\nstep later in the model).\n\nSponsored by City of Canning"