Hi Gerald,
After looking at doing this with ObjectDBX, which would allow you to do all your drawings pretty quickly, I think your idea of just running a small lisp like you posted is probably the best. The reaseon being, the Object Model exposes the StyleName property to us but it is Read-Only. Meaning that to "change" it we would have to create a new Style duplicating the old one, change the width and fontfile to what you desire, cycle through all objects in the drawing looking for the old stylename and changing any that are found to the new one. This really isn't too hard, until you realize that all Dimension styles and Mtext objects would also need to be checked.
I've now fooled around with this for about an hour and still don't have it working properly. If I have time over the weekend I'll investigate further.
In the mean time, just add those 2 lines of code to the end of your acaddoc.lsp
;replace font file
(command "-style" "helv" "arialn.ttf" 0 .9 0 "No" "No")
;rename style name
(command "-rename" "s" "helv" "ARIALGLA")
providing the syntax is correct (I didn't check the command line to see if these actually work) then it should work for you. Although you may want to check if the change has already been done....something like:
(if (not (tblsearch "STYLE" "ARIALGLA"))
(progn
;;the code to add/change the font
)
)
Good luck,
Jeff