-linetype?

Martin (archive)

Usenet Archive
Joined
Aug 1, 2000
Messages
245
Reaction score
0
i'm trying to load linetypes from a lin-file through lisp, the problem is that it all goes well till it finds an existing linetype then it prompts (linetype exists, overwrite?), although i've set (cmdecho) to zero the prompt still appears, is there a way to avoid this?
 
(foreach findltype'("center" "hidden" "phantom" "dashed") (if (= (tblsearch "ltype" findltype) nil) (command "-linetype" "l" findltype "" "") )
)
 
(defun c:load_linetypes (/)
(command "linetype" "LOAD" "*" "")
(while (= (getvar "cmdactive") 1) (command ""))
(princ)
)
 
Back
Top