Originally Posted by
tedg
Maybe
THIS THREAD will help.. sort of.
This was asking to have the plot style display on (not off)
After looking at that routine, I modified it to meet your reqest, if you place this code in your acaddoc.lsp it will turn off the "display plot styles" in every drawing you open.
Code:
(defun showpstyle ( / DOC LAYOUTS)
(setq doc (vla-get-activedocument (vlax-get-acad-object))
layouts (vla-get-layouts doc)
); setq
(vlax-for n layouts
(vl-catch-all-apply 'vla-put-showplotstyles (list n :vlax-false))
); vlax-for
(vla-regen doc acAllViewports)
(mapcar 'vlax-release-object (list layouts doc))
(princ)
); defun
(showpstyle)