Message 1 of 10
Not applicable
03-28-2016
12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I used autocad 2012,when I use code to open a drawing like below:
Application.DocumentManager.MdiActiveDocument = Application.DocumentManager.Open(path, false);
Document doc = Application.DocumentManager.MdiActiveDocument;
doc.LockDocument();I got a document, but the document is not what i open, it's the previous document.
Anyone can tell me how to get the document I opened right now~?
Any of your help will do me a big favor,
thank you.
Solved! Go to Solution.