[Qgis-user] Setting a project variable from processing modeler

Nyall Dawson nyall.dawson at gmail.com
Thu Feb 18 15:19:19 PST 2021


On Fri, 19 Feb 2021 at 09:12, Francesco Pelullo <f.pelullo at gmail.com> wrote:
>
> Hi list,
>
> is there an algorithm for setting a project variable from a modeler algorithm?

A native one was added in 3.16 - look under the "modeler tools" group.

Nyall

>
> I found this:
> https://gis.stackexchange.com/questions/359386/is-there-a-way-to-edit-project-variables-with-modeller-in-qgis
>
> but if I add this script to the modeler, QGIS 3.10 shows error:
> AttributeError: type object 'QgsProcessingAlgorithm' has no attribute 'FlagSkipGenericModelLogging'
>
> Any help appreciated.
> Thank you
> Francesco
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


More information about the Qgis-user mailing list