I am trying to open a .x_t (parasolid) file in my c# addin.
I have tried a few different opens, and options and nothing yet, it just silently fails with no warnings or errors.
Currently I am using:
iSwApp.OpenDoc6(xtPath, (int)SWConst.swDocumentTypes_e.swDocPART, (int)SolidWorks.Interop.swconst.swOpenDocOptions_e.swOpenDocOptions_LoadModel, "", ref saveErrors, ref saveWarnings);
It is likely something very simple that I am missing.