I’m experiencing a similar issue with pdfs becoming very large.
My current process is, while in an active detail view on layouts, I’m using grasshopper to bake make2d objects and then using then use a python script to print the layout to a pdf using the rhino driver. The resulting pdf’s are only be vector graphics in the pdf, no raster. I have the same file size results when i print from model space and not in a layout page.
The update has dramatically improved the file size; however, it still doesn’t clip hatches and text that are inside referenced blocks as the attached image shows the pdf output. Could I also request development of transparency for hatches… would completely transform the sophistication of CAD drawings.
After some further testing on another computer and with a separate instance of Rhino, printing the active viewport does not produce a sizable larger file.
I am using a Grasshopper script with a python component to generate the layouts I’m testing on. perhaps their is an issue with something the python script is doing.
I’m using the ‘Rhino.FileIO.FilePdf’ to create and print the layouts. However, my tests that result in 290 kb and 1.5 mb are in the same file after the layout have been generated but are using the manual print dialog.