Good afternoon, I need to import the assembly parasolid file (* .xmt_txt) into the assembly for which I use OpenDoc6 ()
But in the end I get the error swFileRequiresRepairError
here is my code:
ISldWorksPtr pApp = Object();
long lErrors = 0, lWarnings = 0;
pApp->OpenDoc6(CComBSTR(path_to_file.c_str()), 2, swOpenDocOptions_Silent, L"", &lErrors, &lWarnings, &modeldoc);
However, if I open the file manually, it is imported without errors...