Message 1 of 6
VB.NET, Effective Crossing Window without EditorInput, DWGs Opened in Memor

Not applicable
06-12-2009
09:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am building a VB.NET program to extract data from drawings without opening and rendering each drawing. I accomplish this with:
'Initialize Database Source as Read
Dim dbExtract As New DatabaseServices.Database
dbExtract.ReadDwgFile(FileName, IO.FileShare.Read, True, "")
Since this means that the drawings will be opened in memory, the EditorInput is not available which is where the crossing window selection set methods are. Does anyone know how to effectively search a designated window for any lines or plines that cross it without having the EditorInput?
'Initialize Database Source as Read
Dim dbExtract As New DatabaseServices.Database
dbExtract.ReadDwgFile(FileName, IO.FileShare.Read, True, "")
Since this means that the drawings will be opened in memory, the EditorInput is not available which is where the crossing window selection set methods are. Does anyone know how to effectively search a designated window for any lines or plines that cross it without having the EditorInput?