AnsweredAssumed Answered

Get the file type column value for a part

Question asked by Eric Drake on Jun 1, 2020
Latest reply on Jun 1, 2020 by Fifi Riri

I working on an application that will check out, open, rebuild, save, and check in a selection of files. The application works until it encounters a toolbox part outside of the toolbox folder. I'm not sure how many of these I will have to contend with, so for the sake of argument, let's assume that I can't simply avoid them in my selection. Both toolbox and standard parts have the file extension SLDPRT. The only difference in PDM that I can see is that toolbox parts have a file type of "Toolbox Part Document" and standard parts have the file type of "SOLIDWORKS Part Document."

 

How can I read the File Type column value in the SolidWorks 2018 PDM API using C#?

Outcomes