Quick answer, You might want to have a look to https://qgis.org/api/classQgsProcessingUtils.html#aa1c2360e52d2ed8100faf02a35125b17 I'm not sure about writing a processing script with this syntax, I'm still using the class way. But you might want to set your style in a post processor QgsProcessingLayerPostProcessorInterface?
Or why not using the builtin processing script to load a style ? Just pre-fill values and call this algorithm ?
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
