One of our users has substituted an invalid shape file for a font file which generates a lot of errors when opening the drawings. Even with a fresh unaltered copy of the drawings it is making the substitution.
I have checked the acad.fmp files but cannot find where this setting is stored?
Thanks.
@GTVic wrote:One of our users has substituted an invalid shape file for a font file which generates a lot of errors when opening the drawings. Even with a fresh unaltered copy of the drawings it is making the substitution.
I have checked the acad.fmp files but cannot find where this setting is stored?
Thanks.
Not sure ......
Include this on your startup suite / acaddoc.lsp
(foreach st '("Style1" "Style2" "Style3");<--- styles to change (if (setq found (tblobjname "Style" st)) (progn (setq found (vlax-ename->vla-object found)) (vla-GetFont found 'typeface 'bold 'italic 'charset 'pitchandfamily ) ;_ end of vla-GetFont (vla-setFont found "Romans" bold italic charset pitchandfamily ) ;_ end of vla-setFont ) ;_ end of progn ) ;_ end of if ) ;_ end of foreach
HTH
Note that once this occurs, it will occur for all (future) drawings in that same session of AutoCAD.
When testing drawings in this situation, always shut down AutoCAD each time.
Thanks, I'm pretty sure I did restart AutoCAD and I did unzip a fresh copy of all the drawings from the eTransmit. Before I could diagnose the problem further I received the missing SHX file. So that may be what stopped the invalid substitution.
@GTVic wrote:Thanks, I'm pretty sure I did restart AutoCAD and I did unzip a fresh copy of all the drawings from the eTransmit. Before I could diagnose the problem further I received the missing SHX file. So that may be what stopped the invalid substitution.
That explains it
Anyhoo...
If there are “not found” Fonts and Shapes, AutoCAD will use the substitute font. Alternatively, you may want to use a font mapping table to specify which font AutoCAD substitutes when it encounters a text object created with another font. Windows True Type Fonts are independent of AutoCAD resource folders; they belong to the operating system. - Helen’s CAD Secrets
Yes, for future reference I would like to know if there are other locations, other than acad.fmp, where a font substitution is stored? You may need to reset it because you chose the wrong SHX for example.
Is there a spot in the registry?