Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I got this lisp from the internet but it change all layers included Xref layers
Someone can help me to exclude Xref layers please. Sorry for my bad English.
;;Change All layer in Default lineweight to 0.05 lineweight
(defun c:C005 ()
((lambda (/ n l w)
(while (setq n (cdr (assoc 2 (tblnext "LAYER" (not n)))))
(setq w (cdr (assoc 370 (setq l (entget (tblobjname "LAYER" n))))))
(if (= w -3)
(entmod (subst '(370 . 5) (cons 370 w) l))))))
(princ)
)
Solved! Go to Solution.