gsksun4 Posted November 18, 2008 Posted November 18, 2008 Is there a quick way to change the text font for existing text in a drawing? I did format, text style, and changed the font in the text dialog window, but it didn't change the existing text in the drawing. I could edit each string, one at a time, but that would take forever. Any thoughts? Thanks in advance. Glenn Quote
dbroada Posted November 18, 2008 Posted November 18, 2008 provided you selected the correct style your method should work. The main exception is when MTEXT has been used with an embedded font. Quote
wannabe Posted November 18, 2008 Posted November 18, 2008 provided you selected the correct style your method should work. The main exception is when MTEXT has been used with an embedded font. Whis is a really annoying feature that I don't think CAD has a built ion way of amending. Having said that; no doubt, I'm sure there is a macro to fix the problem. Quote
gsksun4 Posted November 18, 2008 Author Posted November 18, 2008 provided you selected the correct style your method should work. The main exception is when MTEXT has been used with an embedded font. When I did the STYLE command and picked the new font and style, the APPLY button was NOT active. I am able to change the text, one string at a time with DDMODIFY, but as I said, that's too much work. Thanks for the quick response. Glenn Quote
dbroada Posted November 18, 2008 Posted November 18, 2008 you need to change the font for the Apply to highlight. Once done just exit or exit and REGEN. Quote
gsksun4 Posted November 18, 2008 Author Posted November 18, 2008 you need to change the font for the Apply to highlight. Once done just exit or exit and REGEN. OK, I got the APPLY to work, but it didn't change the existing text. It still lists out as the original font. It must be an embedded font. I can work around it. The blocks I'm inserting in the drawing have the correct font. Thanks for the help. Glenn Quote
Strix Posted November 18, 2008 Posted November 18, 2008 well for dims you need to do an update - does this apply to text too? Quote
gsksun4 Posted November 19, 2008 Author Posted November 19, 2008 well for dims you need to do an update - does this apply to text too? I'm not sure I know what you're asking here. The text I'm trying to change isn't dimensions, they're room names. Regular text strings. I can change them individually, but there's too many to do that. Glenn Quote
Nathan_SF Posted December 5, 2008 Posted December 5, 2008 Did anyone ever figure out how to change text font globally? I've run into a situation in which I have a file from the client with a text style I don't have. I'm trying to figure out how to change all existing text (some text in blocks, some plain text) to the standard style. What type of file contains the text style? I can ask the vendor for it, but don't think I'll get it in time. Thanks for any info. Quote
ReMark Posted December 5, 2008 Posted December 5, 2008 I used to have a lisp routine called cs.lsp (the "cs" was short for "change style"). It wasn't elegant but it worked. I would invoke the command, window the entire drawing (linework included) and the routine would prompt first for the old text style name followed by the new text style name. Then it went to work. I don't think it worked on dimensional text and this was before the introduction of MText. Is this even close to what you are looking for? Quote
Strix Posted December 5, 2008 Posted December 5, 2008 Did anyone ever figure out how to change text font globally? I've run into a situation in which I have a file from the client with a text style I don't have. I'm trying to figure out how to change all existing text (some text in blocks, some plain text) to the standard style. What type of file contains the text style? I can ask the vendor for it, but don't think I'll get it in time. Thanks for any info. Ah, now, that's different! When you open the drawing where you don't have the font file, AutoCAD substitutes another font (you'll probably get the proxy warning box flash up on the screen as the drawing opens) You can change the font it chooses to substitute in Unfortunately, it's something I only used once several years ago so I've no idea what to change to make it do it! Quote
CmdrDuh Posted December 5, 2008 Posted December 5, 2008 there are a couple of things you can do. Easiest without programming is to make a new style with the font you want. Qselect Text based on the old font/style name. Once selected, using properties, set to the new style you created. regenall. From a programming standpoint, I have some VBA you can tweak that does exactly what you want, it takes all of an old style and changes it to a new style. Let me know if you want it Quote
totzky Posted December 6, 2008 Posted December 6, 2008 In the absence of lisp to change text font globally, here is an alternative: 1) Explode all the stubborn texts so that embedded font will loose its protection on them. Exploding them will turn them into single line text and you can readily give them style. 2) If you are not a big fun of single line text, you can turn them into multiline text once more by express tools' TXT2MTXT. Use "MULTIPLE" to quicken the process. Just remember to click ENTER key after every pick so that they will not turn into single multiline text. Quote
totzky Posted December 6, 2008 Posted December 6, 2008 ps: Just not sure if LT Extender has TXT2MTXT command. Quote
Tankman Posted December 6, 2008 Posted December 6, 2008 You need to change the font for the Apply to highlight. Once done just exit or exit and REGEN. Highlighted the entire drawing, "STYLE" on the command line. Picked a font, "APPLY." Changed all fonts, including the dimensions and title block. Worked fine. Quote
gsksun4 Posted December 8, 2008 Author Posted December 8, 2008 I'm not familiar with auto lisp. How would I use this command and where would I type it in to envoke it? Glenn Quote
gsksun4 Posted December 8, 2008 Author Posted December 8, 2008 Highlighted the entire drawing, "STYLE" on the command line.Picked a font, "APPLY." Changed all fonts, including the dimensions and title block. Worked fine. I tried this and it did not work. It still lists out as the old STYLE NAME. The font is fine, it seems to be the STYLE NAME that will not change. Quote
dbroada Posted December 8, 2008 Posted December 8, 2008 the style name cannot be changed globally. The style is applied to each text object as you create it or later if you desire. All you can do is change the font associated with that style - which is what you asked and have had replies to. If you want to change a text object's style you should use qselect & the properties palette. Quote
Dipali Posted December 9, 2008 Posted December 9, 2008 ps: Just not sure if LT Extender has TXT2MTXT command. No. it does not have that feature. Quote
totzky Posted December 9, 2008 Posted December 9, 2008 Originally posted by DipaliNo. it does not have that feature So there you are , it seems that your only choices are: 1) Make do with single line texts that can be changed or 2) Modify one by one. In as far as the 2nd option is concerned, Make use of the ellipses (...) in the properties dialogue box. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.