I have used the SelectCrossingWindow() method like this fllowed: 1.Getting a polyline's or something else's extents in a list of polyline or other entities; 2.Then, when once getting a polyline's extents, using the Editor::SelectCrossingWindow(extents.MinPoint,extents.MaxPoint) to get the SelectionResult. And the problem is that when the first time to traverse all the entities I have gotten , the method is OK. But when the seconde time or the other time to call this method ,it returned an error. So, what is the wrong with my code? Thank you very much for your helping.
This is not the correct forum in which to be asking programming questions.
Try this for C3D questions:
http://forums.autodesk.com/t5/AutoCAD-Civil-3D-Customization/bd-p/190
or this for general .NET questions:
Hey, did you find any solution to this problem, I got th same one. And I have no clue why this occurs and how to handle it.