hello
i want to draw a pline with a list of point a try
(defun DRAW::POLYLIGNE (pts) (setvar "cmdecho" 0)
(command "_.PLINE" (car pts) (foreach p (cdr pts) (command p)))
(princ)
)
or this
(defun DRAW-POLYLIGNE (pts) (command "_PLINE") (mapcar 'command pts)
(command ""))
but a have always 1 2 3 on prompt how to make this without
thanks