What is wrong with this filter list?

What is wrong with this filter list?

Anonymous
Not applicable
349 Views
2 Replies
Message 1 of 3

What is wrong with this filter list?

Anonymous
Not applicable
FilterType(0) = 0
FilterData(0) = "Point"
' Bitwise AND
FilterType(1) = -4
FilterData(1) = "&="
' Layer
FilterType(2) = 8
FilterData(2) = strLayer

'Get user to select entities
Call ssObjects.Select(acSelectionSetAll, _
FilterType:=FilterType, FilterData:=FilterData)
0 Likes
350 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
The layer name is a string and "&=" is valid only for integer types.
0 Likes
Message 3 of 3

Anonymous
Not applicable
Yes, the layer name was correct and OK. I had to remove the &= code and reduce the size of the array by 1.

Works fine now.
0 Likes