Replace existing file when creating a new PDF hardcopy

When we create a new slddrw we would like to run the task "create PDF" automatically. When running this task we would like to overwrite the existing PDF hardcopy when creating a new one. However part of the file name is the revision number and the revision number is increased by one when a new PDF is created. This means when we have the checkbox "replace existing file" checked, the file name changes and therefore the old pdf will not be overwritten but a new file is created. For example the previous file name is 017444R03.PDF. When creating an new hardcopy the file name will be 017444R04.pdf

Is there a possibility within solidwork PDM to overwrite the old file even when the name of the file changes?  

SolidworksSolidworks Pdm/enterprise Pdm
Answers 8
SF
SF 2021-04-08 Best Answer

Coming from a CM background I would like to know why you want to replace the previous revision of the PDF? Can't you move the file to an "Archive" folder? You may want to keep these PDF's to refer back to at some point as a snapshot of that revision.

*I also know you can go back to see old versions/revision within the history of the drawing but not all users are daily users (i.e. marketing/purchasing/etc.)

JS
JS 2021-04-08

Jeremiah Feist wrote:

then my STRONG recommendation is to get with the times and stop including the rev in the file name.

Indeed.  We have some vendors and internal folks that absolutely demand that the revision be in the file name when communicating files to and fro.  For them, I wrote an add-in to export a copy to a location outside of PDM that includes the latest revision in the name.  If they squirrel away copies and use them for future work, it is on them.

JM
JM 2021-04-08

There is a way to do a save and overwrite the existing and still have the history of the PDF. I remember doing this at another company. We used dispatch to find and checkout the PDF then overwrote it with the new one. I do recall it was a pain to figure out. But the engineers were happy CM was happy and purchasing never grabbed the wrong PDF again

JF
JF 2021-04-08

then my STRONG recommendation is to get with the times and stop including the rev in the file name.

only work flow i can see to do it with the rev in the file name would be to overwrite it using the old file name, and then rename the file. but that will be far more challenging to automate.

PA
PA 2021-04-08

The PDF's are stored inside PDM. And we uses PDM Pro.

SF
SF 2021-04-08

Patrick,

I agree if there's no CM oversight into drawing releases then the step of forgetting to move files can lead to big mistakes later. 

Any way you can change the state of the files in a workflow to an "Archive" state where said users wouldn't be able to see the PDF's? That way its a quick state change and not having to move them. Just a thought.

Thanks,

Stephen

JF
JF 2021-04-08

are the PDFs stored inside of PDM or just on the network? and PDM pro or standard?

PA
PA 2021-04-08

Hello Stephen, we would like to be sure that the users (in our case the people who communicate drawings to suppliers) can communicate only the most recent drawings. When they can choose between several different PDF's a mistake is easily made.

Moving the PDF's to the archive folder is a lot of extra work and is also easily forgotten.

Regards,

Patrick