Somewhere on this board is a routine that toggles ltscale & psltscale based on a "tab" reactor. I don't remember who wrote it or where I got it cuz' the machine crashed and I had to re-create it, but here's what I use. Some guru here could probably make it a lot slicker.
(defun ChangedLayout (reactor layout / )
(if (/= (nth 0 layout) "Model")
(progn
(setvar "ltscale" 0.3333)
(setvar "psltscale" 1)
)
(progn
(if (> (getvar "dimscale") 12)
(setvar "ltscale" (/ (getvar "dimscale")3.0))
(setvar "ltscale" 40)
)
(setvar "psltscale" 1)
)
)
)
(if (not *LayoutLTS*)
(setq *LayoutLTS* (VLR-Miscellaneous-Reactor nil '((:VLR-layoutSwitched . ChangedLayout))))
)
What it does is when going to a layout tab, it sets the PSLTSCALE to 1 and the LTSCALE to 0.333333. When going to the model tab it sets the LTSCALE to 40, unless dimscale is less than 12. 40 was an arbitrary number, that would nearly always display some kind of linetype regardless of scale.
Does anybody here know where the original routine came from? I'd like to give credit.