Multi-page export to pdf

Hello, Guys

Can you please tell me how you can export several pages to PDF using the ShapeDiver / Grasshopper? To make one multi-page document? Maybe someone has a detailed example for my case?

Export PDF A4.3dm (599.0 KB)

Hi @AlexWer to create multiple pages PDFs, you need to use the ShapeDiver Merge PDFs component. To create each page of the PDF, the SquidPdf component support data trees so for each branch you will get one page. Finally, to test the result of the PDF, you can use the ShapeDiver component Write PDF which will save the PDF locally in your computer.

In this example I created a PDF with three pages, each page with a different shape:

You can check the final pdf result here: test.pdf (2.0 KB) and you can download the GH file here: (34.1 KB)

I hope this helps.



I tried grasshopper example that you share, but writing PDF doesn’t work on my computer from some reason. Write PDF component is red and received message "Solution exception:Could not find a part of the path 'D:\PROJEKTI'. I have folder D:\PROJEKTI and I change file path on the component “file path” from Edvin’s test file path to the folder 'D:\PROJEKTI'. I tried with other folders and discs also, but it doesn’t work. In some cases I receive message " 1. Solution exception:Access to the path ‘C:' is denied.’ Why it is not work?