;Turns ON 'Display Plot Style' in all layouts by ASMI 2008-03-13
(defun c:pon ()
(vl-load-com)
(vlax-for L
(vla-get-Layouts
(vla-get-ActiveDocument
(vlax-get-acad-object)))
(vla-put-ShowPlotStyles L :vlax-true)
(command "_.REGENALL")
); end vlax-for
(princ)
); end of c:son
;vlax-false to turn off
(c:pon)

Advertisements