I have a batch plot routine that reads a directory and plots all drawings within. How do I close the PDF files once made so that I don't exceed the maximun number open?
Here is the routine call by the batch plot routine:
;DESCRIPTION:PDFPlot
;***************************
(vla-put-DefaultPlotToFilePath (vla-get-output (vla-get-preferences (vlax-get-acad-object))) (getvar "dwgprefix"))
(command ".qsave")
(command ".zoom" "e" "limits" "off")
(command ".plot" "y" "fullsize" "GDF_Adobe PDF.pc3" "Arch D" "i" "l" "n" "w" "0,0" "36,24" "f" "center" "y" "aia standard.ctb" "y" "y" "n" "n" "n" "n" "y")