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)