Select objects visually on the screen

Select objects visually on the screen

Anonymous
Not applicable
464 Views
3 Replies
Message 1 of 4

Select objects visually on the screen

Anonymous
Not applicable
I can't believe that I even have to ask. How do I visually show that items
are selected on the screen? I tried the Highlight method example and I'm
not seeing anything on the screen. I looked at the SelectOnScreen method
but I don't want the user to pick the items, instead I want to select them
programmatically in VBA so the user can do what they please with those
selected items.

Using AutoCAD 2006, WinXP SP2

Mel
0 Likes
465 Views
3 Replies
Replies (3)
Message 2 of 4

fxcastil
Advocate
Advocate
Mel,

Congratulations you found another "special feature "
in AutoCAD. I gave up using the highlight property because it works differently on different machines, differrent days.
I think maybe it is related to the gravitational force of the moon? I usually just save the previous color of the entity and use the color property to show it is selected and then change the color back after an operation.

If you search this group for "highlight" you will see this subject discussed many times.

http://discussion.autodesk.com/thread.jspa?messageID=3398359

Fred C
0 Likes
Message 3 of 4

Anonymous
Not applicable
Thanks for that reference. So let me get this straight, the Highlight
method is not the same as selecting items on the screen (the "Select"
command). For example, when I use the Highlight method example and leave
everything Highlighted on the screen I cannot use the "List" command because
nothing is selected.

wrote in message news:5059213@discussion.autodesk.com...
Mel,

Congratulations you found another "special feature "
in AutoCAD. I gave up using the highlight property because it works
differently on different machines, differrent days.
I think maybe it is related to the gravitational force of the moon? I
usually just save the previous color of the entity and use the color
property to show it is selected and then change the color back after an
operation.

If you search this group for "highlight" you will see this subject discussed
many times.

http://discussion.autodesk.com/thread.jspa?messageID=3398359

Fred C
0 Likes
Message 4 of 4

Anonymous
Not applicable
If you download AsdkUNSUPP2004Lib and the regupdate for 2005 or 6 you have full access to the pickfirst selectionset, ie you add the items you want to the pickfirst sset and they get grips. The test.dvb has an example with it. You will be amazed at the other goodies as well.
0 Likes