PDF Macro
PDF Macro
(OP)
I'm asking to see if anyone has or knows of a bulk PDF macro out there for saving SolidWorks drawings as pdf documents. Ideally the macro would "save as" pdf for all drawings in a folder. I would like to use SolidWorks task scheduler to run the macro at an off peak time. TIA.
Pete
Pete






RE: PDF Macro
RE: PDF Macro
You could probably do the same thing with a free PDF printer (i.e. CutePDF) if you can set it to save the PDF files all to a single location silently - this may require some research on ghostscript parameters.
RE: PDF Macro
RE: PDF Macro
Model.SaveAs4("D:\samples\d1.pdf", 0, 0, e, w)
You have to work out some type of routine to loop through every document in the folder, maybe using DIR or GETATTR (don't remember what it is exactly). You would then have to open the document silently, save it as a PDF, and close it.
You could create this as an executable (if you have VB) then schedule it.