[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Replace Nonexistent Fonts
Tip# 3174 By Eli Kay On 29-Mar-2009
Rated By 1 users Downloaded : 812
Categories : Styles
Software type : AutoCAD 2009
Rename File To : ACA-Trap.LSP,textclean.LSP
Replace missing SHP files when you don’t have a font used in an AutoCAD file.

Eli Kay sent us a routine to replace missing SHP files when you don’t have a font used in an AutoCAD file.

During the life of your project, you get to merge a consultant’s drawings with yours via INSERT command. That process brings in text styles even if the font/shape file being referenced does not exist on your machine. Yes, you can turn off the notification for unknown font/shape file; however, TC goes in and replaces unrecognized references to a new reference within your AutoCAD’s Support File search folders. This font can be set to any working preference.

Tested in Architecture 2009. Custom Error Control is also attached.

NOTES FROM CADALYST TIP PATROL: Text Clean (type TC on the command line) seems to work OK on the one file I had that didn’t have the proper SHP file. It asked me which file to replace it with.


Average Rating:

User comments
Comment by McSwain,R.K.
Posted on 2009-03-31 06:23:42
The (restoresettings) function sets variables to hard coded values, not the value they were before running this routine.