I've got an operation thats adding property sets to MEP objects then adding data to an SQL Table. In order to keep the SQL database and drawing synced up I use the Document.Save() right after finishing the SQL database update. Problem is AutoCAD does its normal lock up for 2 mins while these large drawings save.
I tried using Document.SendStringToExecute("_QSAVE", false, false, false) thinking the drawing would save on idle but the document doesn't seem to be saving after my plug in returns control to AutoCAD.
Anybody got a better way to guarantee a save without forcing the user to wait 2 mins after they've waited for my plug in to execute.