Message 1 of 10

Not applicable
01-09-2015
07:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm running a command from an original drawing to open a another drawingand apply some edits to it. I open the newdrawing with;
Dim FileName As String = "C:\XXX.dwg"
Dim acDocMgr As DocumentCollection = Application.DocumentManager
Dim opdoc As Document = DocumentCollectionExtension.Open(acDocMgr, FileName)
then when I run the editing code after this code it applies the edits to original drawing, as I believe this is still the active drawing - my question is what is the best way apply these edits to the new just opened drawing? Can I switch the active document to the new drawing...? Or is there another way?
Thanks,
Harry
Solved! Go to Solution.