SelectionFilter bug

SelectionFilter bug

HenryHe
Explorer Explorer
441 Views
2 Replies
Message 1 of 3

SelectionFilter bug

HenryHe
Explorer
Explorer
Hi:
I want to select the entity which is line or has red color. I used this code by ARX:
-4,"< OR",RTDXF0,"LINE",62,1,-4,"OR >"
We can translate:
RTDXF0,"LINE"->new TypedValue(0,"LINE")
62,1->new TypedValue(62,1)
but this translation:
-4,"< OR"->new TypedValue(-4, "< or" )
I catch the exception.

Please tell me how can i do?
Thanks.
0 Likes
442 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
In 2006 the logical grouping (e.g., elements do not work, and it is a known problem.

Search this newsgroup for a workaround that involves a bit
of unsafe code.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5011907@discussion.autodesk.com...
Hi:
I want to select the entity which is line or has red color. I used this code by ARX:
-4,"< OR",RTDXF0,"LINE",62,1,-4,"OR >"
We can translate:
RTDXF0,"LINE"->new TypedValue(0,"LINE")
62,1->new TypedValue(62,1)
but this translation:
-4,"< OR"->new TypedValue(-4, "< or" )
I catch the exception.

Please tell me how can i do?
Thanks.
0 Likes
Message 3 of 3

HenryHe
Explorer
Explorer
Hi!
In 2006 the logical grouping ... and?
Thanks!
0 Likes