PDA

View Full Version : highlighting selected object



j_r_auden
29th Dec 2004, 08:09 pm
When you use, let's say the "break" function, ACAD highlights the object the user picks.

In my code I ask the user to select an object, but it is not highlighted. How do I accomplish this???

hendie
29th Dec 2004, 08:19 pm
vla-highlight ?

David Bethel
29th Dec 2004, 08:43 pm
(redraw ename 3)
-David

j_r_auden
29th Dec 2004, 10:33 pm
(redraw ename 3) ???
Please explain

David Bethel
30th Dec 2004, 03:55 am
ACAD uses entity ENAMEs ( DXF group -1 )


(setq en (car (entsel "\nSeelct a graphical entity: )))

Make sure you pick something.

To highligt the selected entity:


(redraw en 3)

-David

j_r_auden
3rd Jan 2005, 08:51 pm
I got it now, Thanks !! :D