O. k. I'm stumped. I haven't tried to use the automatic PDF converter since we upgraded to 2014. It was working but now it is not. I have looked at every setting three times along with my var.
Anyone else have issues with this after the upgrade?
What Greg was talking about was editing your task script to update it to EPDM 2014. So edit your task, choose Output File Options, then Advanced Scripting Options:
Once in here choose the SolidWorks Version to Use (2014 if that's what you have) and then choose Reset. It should be noted that any customizations to your code need be backed up prior (copy-paste into Notepad)
The other obvious thing that gets missed a lot is upgrading the task DLL itself.
To upgrade your task add-in open the Administration tool, choose Open, navigate to C:\Program Files\SolidWorks Enterprise PDM\Default Data and choose Convert_gb.cex and then drag the SWTaskAddin into your Vault.
Hi Lawrence, can you tell us more about the problem? Is this triggered by a workflow command or a menu command? Is it making it into the "Task List"? If so, is it throwing an error? If so, what is that error?
Also, are the PDFs being created Locally or on another computer/server? If on another computer/server, make sure that computer is also upgraded and that the computer is able to host a task.
Lastly, did you update your Task scripts when you upgraded?
It is triggered in a workflow.
It throws an error so it is making it into the task. The error is as follows...
Method call ModelDocExtension::SaveAs for document 'C:\Aero_PDMC\Aero_PDM\Released Documents\DrawingP.pdf' and sheet 'Sheet1' failed. Error code 1 returned.
PDF files would be located in the PDM vault...
Upgrade my task scripts??? Not sure, lets start here. How do I do that?
The generic windows error code "1" for a saveas means it can't find, access a file, or have rights to save. Check to make sure the computer creating the PDF does not already have a local file of that name. Make sure the computer creating the PDF is logged in as a user that can save to that directory.
2014 SolidWorks API Help - swFileSaveError_e Enumeration
I'm not sure you need to update your script. Based on the error message, it's a save issue. But Thank you to Tony for explaining that.
It can also be triggered by a menu item. Its not working this way either...
Retrieving data ...