Try this code, if you need to make the pline closed hit "CL" at the end
~'J'~Code:(defun C:demo() (setq osm (getvar "osmode")) (setvar "osmode" 0) (command "._pline") (while (= 1 (logand 1 (getvar "cmdactive"))) (command pause)) (setvar "osmode" osm) (princ) )




Reply With Quote

Bookmarks