Message 1 of 5
Filtering lines and polylines

Not applicable
02-08-2008
05:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there.
I´m trying to use a selectionset with a filter to lines and polylines, but it just don´t work. Can someone help me?
I´m doing it like that:
Dim sst As AcadSelectionSet
Dim filtertype(2) As Integer
Dim filterdata(2) As Variant
filtertype(0) = 0
filterdata(0) = "Polyline,LWPolyline,Line"
sst.SelectOnScreen filtertype, filterdata
But then i get error 91 = "Object variable or With block variable not set"
Thanks!
I´m trying to use a selectionset with a filter to lines and polylines, but it just don´t work. Can someone help me?
I´m doing it like that:
Dim sst As AcadSelectionSet
Dim filtertype(2) As Integer
Dim filterdata(2) As Variant
filtertype(0) = 0
filterdata(0) = "Polyline,LWPolyline,Line"
sst.SelectOnScreen filtertype, filterdata
But then i get error 91 = "Object variable or With block variable not set"
Thanks!