查看完整内容
;;; 且试如下 , 若符所需 , 请依此衍生
(defun C:c1 ()
(cond
((setq ss (cadr (ssgetfirst))) ; 某层预选
(if (tblsearch "Layer" "S1") nil
(command "Layer" "make"
"S1"
"C"
"1" ; color
""
"L"
"H" ; linetype
""
""
))
(command "chprop" ss "" "La" "S1" "C" "bylayer" "Lt" "by ...