Hello,
This is my first post and I need some help. I have been looking for an answer for more than a week now and am unable to find anything that has my starting postion.
I'm trying to create a smal program/macro/script that, when a document is checked in to the pdm vault, that it creates a zip file, with in that zip file the pdf and/or dxf and/or step of the document. The zip, pdf, dxf and step file need to be rename to include the revision. (this zip file is to be provide to the manufacturer)
I have the trigger part all done.
Reading out the info of the chechin document all done
I have the rename all done
I have the Zip creation all done
So that leaves me the creation of pdf, dxf an step. .SaveAsPdf is not an option, that is not usable because the option on the vault "Create PDF files in the vault on normal check in .." is not activated and is not going to be aftivatied.
I find a lot about this but the prerequstions is that the DRW, ASM or PRT are open. I'm executing the trigger from my server, so on the server the document are close.
Is thier someone that can suggeste something.
I think I need a way to really load the DRW or ASM or PRT in memory on the server so that the prerequistion of an open document is OK.
Or I need a way to convert/export the existing DRW or ASM or PRT directly from the vault into the PDF and/or DXF and/or STEP.
Thanks for reading,
Hans
SolidworksApi macros