4 Replies Latest reply on Nov 15, 2018 6:50 PM by Jesse Peyton

    Output file name does not accept data card variables in Convert Task Add-in (ver. 2018010065)

    Ctm Pdm Admin

      Hi all,


      I can't figure out how this convert task add-in works. In the 2018 version it claims that you can use data card variables in the output file name/path, but I can't get it to work for Parasolid files.


      When I add a data card variable in the file name it fails to save the converted file and creates an error file saying:


      "Method call ModelDocExtension::SaveAs for document 'C:\PDM_Vault\Projects\1305 LATERAL RETRACTOR\PDFs_Parasolids\1305-0003_01_%Revision%.x_t' and configuration '1305-0003' failed. Error code 1 returned."


      %Revision% in this case is a data card variable.



      The weird thing is that when I change the output file format to "STL" or "PDF", for example, then it works. (same out of the box script). I don't see any place in the convert script itself that relates to the data card variables so it must be something outside the convert script that is not working.


      Has anyone else had this problem? is this a known issue? I couldn't find anything related to this in the KB.


      I appreciate if someone else can try to recreate this problem for Parasolid (x_t) conversion and let me know here so I can open an SR.