- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I feel like I'm elementary level when it comes to my lisp knowledge so forgive me if this is a noob question.
I have a series of different page setup lisps that set the paper size, plot scale, etc. for all tabs in the project but there's an issue I've run into. I have schedules in paperspace that contain a mask but viewport objects print in front of the paperspace objects unless I set "plot paperspace last" under plot options. I can't seem to figure out how to change that setting using lisp. How would I modify the following lisp to check that option?
(defun c:2436a (/ lname s#)
(setvar "cmdecho" 0)
(setvar "ctab" (nth 0 (layoutlist)))
(setq lname (getvar "ctab")
s# 0
);setq
(repeat (length (layoutlist))
(setq lname (nth s# (layoutlist))
);setq
(command "-plot" "y" lname "KIP 7100 Series" "24x36in." "i" "l" "n" "e" "1=1" "c" "y" "1 IRIDIUM (2016).ctb" "y" "y" "y" "n" "n" "y" "n")
(setq s# (+ 1 s#))
(setvar "ctab" (nth s# (layoutlist)))
);repeat
(setvar "ctab" (nth 0 (layoutlist)))
(princ) (princ "All Done") (princ)
);defun c:
Solved! Go to Solution.