Selection Blocks

Selection Blocks

Anonymous
Not applicable
331 Views
3 Replies
Message 1 of 4

Selection Blocks

Anonymous
Not applicable
My program uses Selection Method. The help of Autocad describes the following:
object.SelectOnScreen [FilterType][, FilterData]

but I don´t know how use FilterType and FilterData to select only blocks.
Someone can help me?

Thanks.
0 Likes
332 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
If you do not solved this yet...

dim fitype(0) as integer
dim fidata(0) as variant
fitype(0) = 0
fdata(0) = "INSERT"

or if you need to select blocks
with attributes only:

dim fitype(1) as integer
dim fidata(1) as variant
fitype(0) = 0
fdata(0) = "INSERT"
fitype(1) = 66
fdata(1) = 1

hth

~'J'~
0 Likes
Message 3 of 4

Anonymous
Not applicable
Thanks a lot.
0 Likes
Message 4 of 4

Anonymous
Not applicable
Youre welcome
Happy coding

~'J'~
0 Likes