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

Advertisements