Selection

Selection

Anonymous
Not applicable
556 Views
3 Replies
Message 1 of 4

Selection

Anonymous
Not applicable
I'm working with VS 2003 and AutoCAD 2006. I am not using COM component (I'm using acdbmgd.dll et acmgd.dll)

Using VB.Net, I would like to select objects in a drawing without prompting the user to make the selection. I looked at the examples from Object ARX 2006 / samples / dotNet but it seems the user is always prompted to select objects. Does anyone know how to make the selection automatic without the user having to do anything?

I know that there is a bug with the filters in selectionset but I don't mind (il will probably make my own filter when I will read the data from the objects in the selectionset)
0 Likes
557 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Do you *need* a selection set? You can iterate the appropriate BTR's and
find what you need without using an SS.
--
Bobby C. Jones
http://www.acadx.com

wrote in message news:5011062@discussion.autodesk.com...
I'm working with VS 2003 and AutoCAD 2006. I am not using COM component
(I'm using acdbmgd.dll et acmgd.dll)

Using VB.Net, I would like to select objects in a drawing without prompting
the user to make the selection. I looked at the examples from Object ARX
2006 / samples / dotNet but it seems the user is always prompted to select
objects. Does anyone know how to make the selection automatic without the
user having to do anything?

I know that there is a bug with the filters in selectionset but I don't mind
(il will probably make my own filter when I will read the data from the
objects in the selectionset)
0 Likes
Message 3 of 4

Anonymous
Not applicable
The Editor class has a SelectAll() method that takes a
SelectionFilter as an argument. The SelectionFilter has
some problems however (namely, -4 groups used for
logical operations does not work). There are some
workarounds in C# that you can find in this newsgroup.

--
http://www.caddzone.com

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

wrote in message news:5011062@discussion.autodesk.com...
I'm working with VS 2003 and AutoCAD 2006. I am not using COM component (I'm using acdbmgd.dll et acmgd.dll)

Using VB.Net, I would like to select objects in a drawing without prompting the user to make the selection. I looked at the examples from Object ARX 2006 / samples / dotNet but it seems the user is always prompted to select objects. Does anyone know how to make the selection automatic without the user having to do anything?

I know that there is a bug with the filters in selectionset but I don't mind (il will probably make my own filter when I will read the data from the objects in the selectionset)
0 Likes
Message 4 of 4

Anonymous
Not applicable
thank you very much

Louis
0 Likes