I have a problem. I use AutoCAD 2010. I want to know the use click save or discard button when close the document. I know the "Saved" Property of AcadDocument can tell me the result. However, I could not use the AcadDocument Class. Because there is another plug-in, when i use the com class just like AcadDocument , it will tell some error.so i only can use .net Class just like Document. Is there any Proprty to get it ?
Solved! Go to Solution.
Hi,
Use some document and/or database event to do that. see the docs on events both database and document .
Gaston Nunez
I think i have get the answer.
I use Application.GetSystemVariable("DBMOD"). when it is return 0 it is saved and when return 5 is discard
Thanks!