ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
DWDavid Watkins17/04/2018

I am new to Dispatch and can't get this this if exists working. I am trying to open a PDF from the file name of another file. I got that working and it opens the file. What I am trying to do now is check if the PDF file is in PDM before its errors trying to open the files that is not there. With the jump it should only run the commands after the label if it is true, correct? The below will try to run the Shell Execute line weather the file exists or not. Any ideas? (the msg box is just for testing)

Capture.JPG

Thanks,
David