Is there a way to get the surfaces to print? Also, if there is a way for me to save the file without having the save dialog pop up and having to click ok it would be helpful. Here is the script. Thanks!
pdf = Rhino.FileIO.FilePdf.Create()
dpi = 300
size = System.Drawing.Size(11*dpi,8.5*dpi)
pageToAdd = Rhino.Display.ViewCaptureSettings(sc.doc.Views.ActiveView, size, dpi)
pdf.AddPage(pageToAdd)
infoForFile = "{}.pdf".format(y)
filename = rs.SaveFileName(False, False, cadFileLocation, infoForFile, '.pdf')
pdf.Write(filename)