New answers tagged

0

I had to take out the figFolder = line from lynryd's code above. I was getting an error telling me the following: Traceback (most recent call last): File "<string>", line 4, in <module> ...***BUNCH OF STUFF I DELETED FROM ERROR MESSAGE***... RuntimeError: Object: Parameter index out of range for GetParameterAsText


0

Since QGIS 2.16, just export from the print composer. By default, it will be a GeoPDF. https://qgis.org/en/site/forusers/visualchangelog216/index.html#feature-georeference-outputs-eg-pdf-from-composer


3

pdfDoc.appendPages doesn't know which folder to look in for the indicated PDF. Try this: import os for f in pdfList: pdfDoc.appendPages(os.path.join (r"C:\Output", f))


Top 50 recent answers are included