AnsweredAssumed Answered

Saving a drawing as PDF and DXF in the same directory in a different folder

Question asked by Samuel Bailey on Aug 30, 2015
Latest reply on Sep 14, 2017 by Patrick Harper

Hello,

 

My company doesn't have a PDM system so I'm using a folder structure to manage drawings, every project gets the structure;

/ProjectNo./

                 /01 - CAD

                 /02 - PDF

                 /03 - DXF_DWG

 

 

I'd like an API that will save a pdf and dxf to their respective folders. I am a newby to making API's, though I found one from Deepak that would search for a folder, but not within the same directory location - I think, maybe it could and I just don't know how to make it work correctly - found here --> https://forum.solidworks.com/thread/95244#497864

I didn't want to have to select the folder location every time as it takes a while to get to the ProjectNo. I've also managed to get an API that will save a PDF and DXF to the same drawing location, but if they could be separated it'd be brilliant.

 

Thank you

Outcomes