I have installed Prime 5 with SolidWorks 2017. When Prime 3.1 was released there was an API that extracted values from SolidWorks to Prime 3.1 and returned new values to SolidWorks. The installation of the API will not work with Prime 5 and SolidWorks 2017. PTC does not support the API, which was written by an outside source. Has anyone else tried installing the API?
Attachment says it is used with Mathcad-15.
Will .dll file of Mathcad prime 5.0 work with solid works?
According to @tietjee it still worked with Prime 3.1 and SolidWorks2016, but failed to work when he tried the combination of Prime 5 and Solidworks2017.
So it looks like the answer to your question is "no".
PTC is unlikely to be of any help here (not surprising) and seems to be not interested in offering a working solution.
I did some testing to see if I could integrate Prime 5 and Solidworks 17. I was able to registrar Prime 5 to be an add-in in SolidWorks. The instructions are different than provided by PTC (bold are the changes).
regasm C:\mathcad\mathcad_14.dll /codebase
where c:\mathcad\mathcad_14.dll represents the directory where your mathcad_14.dll file is located
You will get a warning on the use of /codebase, just ignore.
Attached are the files I used, which are for Mathcad v15. I was not able to pass variables between the two programs. If some has the Prime 3.1 files, There may be better information/example on integrating the two programs.