My question is easy and stupid question ,more try to do it but not yet success,here this code (setq p1 (list 0 0 0)) (setq p2 (list 10 5 0)) (command "_line" p1 p2 "") (setq p3 (entget (entlast))) (command "_erase" p3 "")