Not the answer you are probably looking for but.
https://forum.dynamobim.com/t/batch-plot-to-pdf/26538/13