Message 1 of 1
sendstringtoexecute
Not applicable
04-17-2008
03:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
i Tried to open an dwg and make it to the mdiActiveDocument and after that i want to execute a command, but the command is always executed on the old document, not on the opened Document...
here a code sample
Document dwgDatei = Application.DocumentManager.Open(destinationfilename,false, null);
Application.DocumentManager.MdiActiveDocument = dwgDatei;
Application.DocumentManager.MdiActiveDocument.Window.WindowState = System.Windows.Forms.FormWindowState.Maximized;
maybe someone can help
MfG
Steffen Sameith
i Tried to open an dwg and make it to the mdiActiveDocument and after that i want to execute a command, but the command is always executed on the old document, not on the opened Document...
here a code sample
Document dwgDatei = Application.DocumentManager.Open(destinationfilename,false, null);
Application.DocumentManager.MdiActiveDocument = dwgDatei;
Application.DocumentManager.MdiActiveDocument.Window.WindowState = System.Windows.Forms.FormWindowState.Maximized;
maybe someone can help
MfG
Steffen Sameith