I have a script for creating new models. Using UNC paths (\local\folder\folder…) instead of traditional (drive:\folder\folder…) paths I get the following error:
Exception: The model could not be saved: (COleException 0x80030002)
Unfortunately, I don’t have the option to not use a UNC path. I’m certain the problem originates when I use the result from “ConvertUserVisiblePathToModelPath” in SaveAs(…)
path = DB.ModelPathUtils.ConvertUserVisiblePathToModelPath(unc_path_here) ... doc.SaveAs(path, sopt)
Does anyone have a suggestion how to fix the problem?