Friday, 21 October 2016

pyqgis 3 - Loading print layout using an existing template (.qpt) with PyQgis3


I'm trying to load a print layout (.qpt) which I saved earlier via PyQgis.



I found this earlier entry, but it's for QGIS 2.x and thus doesn't work for QGIS3: Programmatically load composer from template and generate atlas using pyQgis


Does anyone know how to do this in QGIS3?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...