Display full version of the post: autolisp bad coordinate

ZICOOO82
14.11.2010, 10:05
Kindly to help me:
the following codes always gives me bad coordinate after inserting it into lisp file and activate it:
 
(command "line" (list 0 2.5 0) (list 0 7.5 0) "")(setq en3(entlast))(command "circle" (list 0 0 0) 2.5)(setq en1(entlast))
(command "-ATTDEF" "" "point" "" "P" "j" "mc" (list 0 0 0) "2.5" "")(setq en2(entlast))(command "-block" "po" (list 0 7.5 0) en1 en2 en3 "")
 
and if i activate every line separately i get the correct coordinate,,,
Thanks