I am trying to batch print quite a few .3dm files. Each one has a different background color for the layout, and what I would like to achieve is simply to print the layout integrating the appropiate background-color.
Now, I have a small script (provided by @lando.schumpich) which is able to print layouts without passing through the pop-up printing settings.
I have tried to use "Rhino.Display.ViewCaptureSettings.DrawBackground " but I do not really know how to integrate it into the settings of pdf.AddPage.
Could anyone give me a hint? Thank you in advance!