Hello all
I have a macro file that open DRAWING file and saves it as PDF file.
It works good on files that not in the PDM or on file in PDM and checked out.
when I try to do so on check in files it's not automatic, I need to click CANCEL on check out BOX.
Is their a code I can add to my macro to skip this BOX.
(I want only to open a SLDDRW in PDM and create a PDF file from it)
Thanks
Yosi
SolidworksApi macros
Try to pass the following 'options' parameter to SldWorks::OpenDoc6:
swOpenDocOptions_e.swOpenDocOptions_ReadOnly + swOpenDocOptions_e.swOpenDocOptions_Silent
Hi Artem
Thank you very much.
it works great.
Yosi