.NET

Reply
Contributor
Posts: 23
Registered: ‎10-06-2005
Message 1 of 4 (98 Views)

Selection

98 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
Message 2 of 4 (98 Views)

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
Message 3 of 4 (98 Views)

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
Posts: 23
Registered: ‎10-06-2005
Message 4 of 4 (98 Views)

Re: Selection

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

Louis

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community