Hi, I've got a closed LWpolyline selected via SelectOnScreen method and I ask the user to draw a LWpolyline into. How can I let the user drawing the LWp and then come back to my routine. I've tried with the sendcommand "_pline" but the routine sends the command and keeps going instead of waiting the pline creation. What can I do ? Is there another way ? thanks for your help ! PS: I'm still working on AutoCAD 2004