Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to write a simple lisp that can turn a set of layers on. I keep running into a nil error. The set is generated by a seperate program that will generate the lsp and run it as part of a script. That said it would be best if I can leave layer list variable in an easy to generate format, but I am not against changing it if I need to.
;;; TURNS ON LAYERS LISTED BELOW
(defun c:FADJ ()
(setq stuff '("05" "02" "Named Layer"))
(foreach stuff
(command "-layer" "_on" stuff)
)
)
Thanks,
Michael
Solved! Go to Solution.