Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Automated sld to pdf printing

(PSSE v 33.12) I have a bunch of case files for which I want to automate printing of .slds to pdfs.

I do not want to use the "export to image"-functionality as the graphics are pixel based and does not provide good enough resolution.

I tried to do this by simply printing to pdf as I would have done manually by using printdiagfile(), but by looking at the API, it seems there is no way to set the pdf document name other than stopping and doing this manually for each slider I want to export.

Is it possible to set the pdf-name when using printdiagfile() in the python script, so that I don't have to manually enter this, or do I have to have a look at other options in order to figure out how to automate this process?