怎么样才能使空间图层跟随命令一起变动
(defun c:1() ;to(prompt "\n请选择要改变图层属性的对象: ")
(setq ss(ssget))
(if ss
(progn
(if (not (tblsearch "LAYER" "家具外线"));
(command "layer" "m" "家具外线" "c" 143 """""" "")
)
(command "_change" ss "" "properties" "layer" "家具外线" "")
)
)
(princ)
)
(defun c:2() ;to 1
(prompt "\n请选择要改变图层属性的物体: ")
(setq ss(ssget))
(if ss
(progn
(if (not (tblsearch "LAYER" "家具内线"));
(command "layer" "m" "家具内线" "c" 8 """""" "")
)
(command "_change" ss "" "properties" "layer" "家具内线" "")
)
)
(princ)
)
(defun c:3() ;to 1
(prompt "\n请选择要改变图层属性的物体: ")
(setq ss(ssget))
(if ss
(progn
(if (not (tblsearch "LAYER" "墙体线"));
(command "layer" "m" "墙体线" "c" 12 """""" "")
)
(command "_change" ss "" "properties" "layer" "墙体线" "")
)
)
(princ)
) 我没有明白你问的是个什么问题?
页:
[1]