Message 1 of 4
filtering the selection set object
Not applicable
11-13-2008
03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I have question in filtering the selection set object.
What is want is, i have a selectionset (selecton screen type) objects in that i have to filter first line, then from that collection again i want to filter the horizontal and vertical lines and put those two different items in different arrays? is it possible ? i have tried a code solme thing like this,
For i = 0 To ss.Count - 1
If TypeOf ss.Item(i) Is AcadLine Then
Set lin = ss.Item(i)
ang = lin.Angle
If ang < 3.25 Then
ADD TO AN ARRAY
Else
ADD TO AN ARRAY
End If
End If
Thanks in advance.
Arun
What is want is, i have a selectionset (selecton screen type) objects in that i have to filter first line, then from that collection again i want to filter the horizontal and vertical lines and put those two different items in different arrays? is it possible ? i have tried a code solme thing like this,
For i = 0 To ss.Count - 1
If TypeOf ss.Item(i) Is AcadLine Then
Set lin = ss.Item(i)
ang = lin.Angle
If ang < 3.25 Then
ADD TO AN ARRAY
Else
ADD TO AN ARRAY
End If
End If
Thanks in advance.
Arun