vipin_nair
2008-02-27, 10:52 AM
Hi,
I have a routine that makes wall's in drawing. My problem is that every time I had to explode that wall to insert doors and windows. I want to explode that wall automatically after end's of wall. Is it possible through a programme. Thank you.
Eg:
(defun c:w23()
(setq cm(getvar "cmdecho"))
(setvar "cmdecho" 0)
;;; (setq clay(getvar "clayer"))
(setq cclr (getvar "cecolor"))
(command "layer" "m" "wall" "c" "cyan" "" "")
(command "mline" "s" "230")
;;; (command "layer" "m" "0" "c" "white" "" "")
;;; (setvar "clayer" clay)
(setvar "cmdecho" cm)
)
Moderator Note:
How to use [ CODE ] tags... (http://forums.augi.com/misc.php?do=bbcode#code)
I have a routine that makes wall's in drawing. My problem is that every time I had to explode that wall to insert doors and windows. I want to explode that wall automatically after end's of wall. Is it possible through a programme. Thank you.
Eg:
(defun c:w23()
(setq cm(getvar "cmdecho"))
(setvar "cmdecho" 0)
;;; (setq clay(getvar "clayer"))
(setq cclr (getvar "cecolor"))
(command "layer" "m" "wall" "c" "cyan" "" "")
(command "mline" "s" "230")
;;; (command "layer" "m" "0" "c" "white" "" "")
;;; (setvar "clayer" clay)
(setvar "cmdecho" cm)
)
Moderator Note:
How to use [ CODE ] tags... (http://forums.augi.com/misc.php?do=bbcode#code)