Hi Alls,my question I think easy for solve,but for me not yet find to fix it,the problem at "rotate",can you check what wrong in my code? ; a2z is stand for edit angle line to zero ; Design by Ade Suharna <> ; 27 October 2004 ; Program no.125/10/2004 ; Edit by (defun rtd (a) (* 180.0 (/ a pi))) (defun c:a2z (/) (setq oldangdir (getvar "angdir")) (setvar "angdir" 1) (setq ent (entget (car (entsel " SELECT A LINE: "))) info10 (cdr (assoc 10 ent)) info11 (cdr (assoc 11 ent)) ang (rtd (angle info10 info11))) (command "_rotate" ent "" info10 "" "r" ang 0 "") (setvar "angdir" oldangdir) (princ) )