TheSwamp

Code Red => .NET => Topic started by: waterharbin on June 26, 2012, 02:26:59 AM

Title: Is it possible to noly select the lines which can been seen on the screen?
Post by: waterharbin on June 26, 2012, 02:26:59 AM
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:
Code: [Select]
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.
Title: Re: Is it possible to noly select the lines which can been seen on the screen?
Post by: Delegate on June 26, 2012, 05:49:57 AM
How about using the OVERKILL command to do away with those covered lines altogether?
Title: Re: Is it possible to noly select the lines which can been seen on the screen?
Post by: waterharbin on June 26, 2012, 08:17:05 AM
Hi,Delegate. I have never heard "OVERKILL" before. What is it? And what exactly does it do? Can you just give more details?
Title: Re: Is it possible to noly select the lines which can been seen on the screen?
Post by: 57gmc on June 26, 2012, 10:30:03 AM
Its an Express Tool command. On the Modify ribbon panel, it says Delete Duplicates.