Hurricane for Autodesk® AutoCAD®
A classic batch job: you need to switch every piece of text from one style to another (say from romans.shx to tahoma) across a few hundred drawings, and you don't want to open each one by hand. Hurricane runs a short script across your whole drawing set to do it in one pass.
CHT command)The most reliable way to reassign text objects to a different style is Autodesk's own CHTEXT.LSP, which adds the CHT ("Change Text") command. Autodesk stopped shipping it in newer releases, so a copy is hosted on the Hurricane forum:
chtext.zip from CHTEXT.LSP (Change Text) on the Hurricane Forum, then load it (manually with APPLOAD, or auto-load it; see How do I run a Lisp routine on all my files?).
Once CHT is available, this is the script Hurricane runs against each drawing. Blank lines are Enter keystrokes. They matter, so keep them:
;Start Autodesk's Change Text (chtext.lsp) CHT ;At "Select objects:" grab every text object ALL ;Blank line: finished selecting ;Choose the Style option S ;Blank line: apply to ALL the selected text ;The text style to switch everything to THE_NEW_STYLE ;Blank line: exit the command ;Redraw so the change shows REGEN
Replace THE_NEW_STYLE with the name of the destination text style (the style must already be defined in the drawing, or in your template). Drop this into Hurricane, point it at your folder of drawings, and run.
-STYLE command. Every text object using the style then updates automatically, with no need to re-select text. Which approach is better depends on whether your drawings use a single shared style or many.
CHT is a LISP routine, so it needs full AutoCAD or AutoCAD LT 2024 and later. See Can AutoCAD LT run LISP?