.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 4
Anonymous
315 Views, 3 Replies

Selection

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)
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

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)
Message 3 of 4
Anonymous
in reply to: Anonymous

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)
Message 4 of 4
Anonymous
in reply to: Anonymous

thank you very much

Louis

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost