save selected pdf from vault as new name in local folder

HI All,

I recently started a new job and they use PDMWORKS. Their ECN procedures require the user to open the PDF that PDMW automatically created (from the vault) and then save it using a specific naming convention, create a step file and attach them to the ECN software.

so my question is, is it possible to select a drawing from the vault view (this is where you typically right click and select view as PDF), save it as a PDF with a new file name.

im pretty sure i can handle the re-naming and step creation but i'm at a loss as to how to open the pdf from the selected drawing so that I can go grab the custom properties and rename it.

has anyone done this or something similar and is willing to share some example code?

thank you,

Chris

SolidworksApi macros