.NET

Reply
Contributor
23 Posts
0 Kudos
Registered: ‎10-06-2005
Post 1 of 4

Selection

105 Views, 3 Replies
11-11-2005 10:18 AM
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)
*Bobby C. Jones
Post 2 of 4

Re: Selection

11-11-2005 10:50 AM in reply to: gepetto143
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)
*Tony Tanzillo
Post 3 of 4

Re: Selection

11-11-2005 11:53 AM in reply to: gepetto143
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)
Contributor
23 Posts
0 Kudos
Registered: ‎10-06-2005
Post 4 of 4

Re: Selection

11-12-2005 04:51 AM in reply to: gepetto143
thank you very much

Louis
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!