Message 1 of 5
what is wrong with my code
Not applicable
02-19-2005
06:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
am trying to close currently opened document using Object ARX wrappers class.
am getting following exception
-> System.Runtime.InteropServices.COMException (0x8021006F): Drawing is busy.
Here is my code.
mApp = (AcadApplication)Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication;
mApp.ActiveDocument.Close(true, mApp.ActiveDocument.Name);
Is any thing wrong with my code.
Regards,
Ramesh V
am trying to close currently opened document using Object ARX wrappers class.
am getting following exception
-> System.Runtime.InteropServices.COMException (0x8021006F): Drawing is busy.
Here is my code.
mApp = (AcadApplication)Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication;
mApp.ActiveDocument.Close(true, mApp.ActiveDocument.Name);
Is any thing wrong with my code.
Regards,
Ramesh V