Hi,
Here's the routine I use. It replace not founded shape with AutoCAD "ltypeshp.shx".
(defun c:rform (/ ext)
(vl-load-com)
(vlax-for ts (vla-get-TextStyles
(vla-get-ActiveDocument (vlax-get-acad-object))
)
(if (and
(setq ext (vl-filename-extension (vla-get-FontFile ts)))
(= (strcase ext) ".SHX")
(= 1 (cdr (assoc 70 (tblsearch "STYLE" (vla-get-Name ts)))))
(not (findfile (vla-get-FontFile ts)))
)
(vla-put-FontFile ts "ltypeshp.shx")
)
)
(princ)
)