Batch Printing And Exporting to PDF using Python

How is it going everyone! I have been using Rhino for around two years now and have just started to play around with Python Scripts. For my line of work I end up printing a lot of layouts as well as export them to a pdf so the rest of my coworkers can easily observe my documentation (Ones who dont use Rhino). After a couple days messing around with Rhnio’s editpythonscript command I came up with two scripts that open and export and or print any Rhino file in that directory. This was designed for people who use layouts. Also I am fairly new to python code so if there is a better way constructive feedback is always appreciated. When I was looking for information about batch printing I could not find any simple python scripts, these are really simple and should be easy to follow. All you have to do is place the script in the directory with all the rhino files you want exported or printed. Then open any rhino file (a new file is best) and enter editpythonscript, once the Rhino Python Editor is open, open the script located in the directory that you placed it in and hit that play button or F5! Hope you all enjoy I know this will be saving me quite a bit of time.

All the best,
Derek

Export Rhino Files to PDF.py (1.1 KB) Print Rhino Files.py (821 Bytes)

1 Like