Message 1 of 6
How to save and exit the current drawing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I manually opened a existing drawing, My question is: How to save and exit the current drawing? I have tried the following code, but failed //db.SaveAs(db.OriginalFileName, DwgVersion.Current); //db.GetDocument().Save(); //AcadApp.DocumentManager.MdiActiveDocument.Save(); Document acadDoc = db.GetDocument(); acadDoc.GetType().InvokeMember("Save",BindingFlags.InvokeMethod, null, acadDoc, new object[0]);