Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
(defun c:DC ( / curlay)
(setq curlay (getvar "CLAYER"))
(command
"_.layer" "_set" "S - DETAIL CUT" ""
"_.insert" "Detail Cut" "_scale" 36
"_.layer" "_set" curlay ""
)
(Princ)
)
After the block is inserted on the proper layer per the code, the layer is not being reset properly to the previous current layer.
Any help would be appreciated, I'm still learning lisp
Solved! Go to Solution.