- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm new to LISP and can't figure this out. This is basically a copy-and-paste LISP I threw together because I don't know how to write them from scratch. It's supposed to end in model space, but it doesn't:
(defun C:LINEFIX ()
(command "LTSCALE" 48)
(foreach lay (layoutlist)(command "_LAYOUT" "_Set" lay "PSLTSCALE" 0))
(command "_LAYOUT" "_Set" "MODEL")
(princ)
)
After the last layout tab PSLTSCALE is updated to 0 it runs the layout command, but for some reason ends up switching to a layout instead of staying in model space. See attached command line screenshot. I've tried using tilemode but couldn't get that to work either.
Just not my area of expertise and need some help. I'm sure it's an easy fix.
Solved! Go to Solution.