Originally Posted by
Zuke
I have a lisp that is used in the office and works extreemly well, with the exception of the pedit line. Sometimes I get a prompt to convert lines and arcs to polylines and sometimes it doesnt.
What im looking for is a way around the question. Here is a copy of the lisp
The aim of the lisp is to return all lines to default thickness or 0 thickness, change lintypes to bylayer, and all line weights to default.
Like i said this lisp works but somtimes i have to add "n" into the pedit line
eg. "pedit" "m" "all" " "n" " "w" "0" ""
(defun c:thinline ()
(command "select" "_all" ""
"chprop" "p" "" "color" "bylayer" "LTscale" "1" "lweight" "bylayer" ""
"-layer" "lweight" "default" "*" ""
"pedit" "m" "all" " " "w" "0" ""
"ZOOM" "E"
"REGEN"
)
(princ))