Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I found the following lisp routine over on the AUGI forums which was created by user alanjt
(defun c:Test (/ layerList data ss) (foreach layer '("Water" "Gas" "Electric" "Text" "Dimensions") (if (and (setq data (tblsearch "LAYER" layer)) ; layer exists (zerop (logand 4 (cdr (assoc 70 data)))) ; layer unlocked (setq ss (ssget "_X" (list (cons 8 layer)))) ; layer has objects ) (command "_.draworder" ss "" "_front") ) ) (princ) )
After looking around this lisp is almost exactly what I am after - except for one thing.
I would really like to be able to set all of the the specified layers to have their Draw Order below another specified layer.
Could any lisp gurus help out with this tweak?
Solved! Go to Solution.