I've used below API call to save Drawing file as Detach Drawing in a new location, without disturbing the current Drawing.
swModel.Extension.SaveAs( DetachDrwFileName + ".SLDDRW", (int)swSaveAsVersion_e.swSaveAsDetachedDrawing, (int)swSaveAsOptions_e.swSaveAsOptions_Copy, null, nErrors, nWarnings);
successfully, it's exporting the detach drawing in the target location. but its also converting the current opened drawing as detach drawing.
I need to export the drawing to detach drawing in the new location, without disturbing current drawing. Please help me.
Thanks in advance