Hi.
I want to select lines form the screen, and only lines need to be selected, other entities can be ignored. To do so, I define a simple filter:
TypedValue[] tv = new TypedValue[] { new TypedValue((int)DxfCode.Start, "LINE") };
SelectionFilter flt = new SelectionFilter(tv);
And all line can be selected. And then I have this cruious idea. Usually, in a given drawing, there are always some lines "covered" by other lines,completely or partially. So, can only the lines on the most front screen be selected? And those which are "covered" can be ignored.