[QGIS-Developer] Running processing algorithm in iterative mode pyqgis

Nyall Dawson nyall.dawson at gmail.com
Mon Mar 18 17:17:25 PDT 2019


On Tue, 19 Mar 2019 at 01:28, matteo <matteo.ghetta at gmail.com> wrote:
>
> Hi all,
>
> I cannot find in the documentation how to run a Processing algorithm in
> the iterative mode via pyqgis. Even doing it with the UI and then
> looking at the history there seems to me that no additional flags are added.
>
> Some hints?

It's not exposed anywhere. The logic sits here:
https://github.com/qgis/QGIS/blob/master/python/plugins/processing/gui/AlgorithmExecutor.py#L297
 , but that's not stable API and shouldn't be relied on by plugins.
Best to copy that if you need it in your code.

Nyall


More information about the QGIS-Developer mailing list