
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need help making this work. I have a process that I'm trying to streamline in ACAD 2016. I need this LISP to turn off everything but the "HILMOT-CONV" layer.
(defun C:loff ( / HILMOT-CONV expert)
(setq HILMOT-CONV (getvar "HILMOT-CONV") expert (getvar "expert"))
(setvar "expert" 1)
(command "._layer" "_off" "*" "_on" HILMOT-CONV "")
(setvar "expert" expert)
(princ)
)
It is shutting every layer off, including the one i want to stay on, "HILMOT-CONV"
..and NO, I do NOT want to use LAYISO. That command requires you to select an object on-screen. I do NOT want to do that, I'm trying to automate as much of my workflow as I can. That one layer name NEVER changes from project to project so I can use it as a filter to shut everything ELSE off. Thanks for any help!
Solved! Go to Solution.