Hi All,
I have many (many) drawings in several directories, these drawings contain text and mtext with the SansSerif Bold font, and I want to change it to Arial Black.
Quick select seems like it would be the perfect selection tool but it does not focus on font, so the only help would be to look at the styles that use SSB font. The problem is that if text was placed with a non-offending font and then the font for "this instance" was change SSB, I'm not sure how to find that.
How can I identify all text and mtext in a drawing that is currently using the SSB font? And then if there is an easy way to change all these from SSB font to AB font, that would be spectacular.
TIA for any solution or suggestions.
Sal
Solved! Go to Solution.
Hi All,
I have many (many) drawings in several directories, these drawings contain text and mtext with the SansSerif Bold font, and I want to change it to Arial Black.
Quick select seems like it would be the perfect selection tool but it does not focus on font, so the only help would be to look at the styles that use SSB font. The problem is that if text was placed with a non-offending font and then the font for "this instance" was change SSB, I'm not sure how to find that.
How can I identify all text and mtext in a drawing that is currently using the SSB font? And then if there is an easy way to change all these from SSB font to AB font, that would be spectacular.
TIA for any solution or suggestions.
Sal
Solved! Go to Solution.
Solved by pendean. Go to Solution.
At first I was thinking select similar would work, but it selects multiple fonts. I was playing with google and found this lisp. I haven't tested it so not sure if it would do what you're asking.
http://www.ellenfinkelstein.com/acadblog/change-the-font-of-a-text-style-using-autolisp/
Nick DiPietro
Cad Manager/Monkey
At first I was thinking select similar would work, but it selects multiple fonts. I was playing with google and found this lisp. I haven't tested it so not sure if it would do what you're asking.
http://www.ellenfinkelstein.com/acadblog/change-the-font-of-a-text-style-using-autolisp/
Nick DiPietro
Cad Manager/Monkey
Hi gotphish001,
This is a good LSP that I will keep for future reference, however, it does not resolve my issue. If text was added using a textstyle that is defined with fontA (a good font) and then later changed using the properties palette to fontB (the offending font) the textstyle is still a good style BUT in this instance of text that textstyle is still defined with a good font BUT the text therein is actually using the bad font.
This LSP actually finds text STYLES that are defined with one font and changes it to a different font. What I believe I need is a means to find ALL text that is using fontA and replace that font with fontB.
This is an unlikely scenario so for the time being, I'm content to just update the styles.
Thanks for your interest and suggestion.
Sal
Hi gotphish001,
This is a good LSP that I will keep for future reference, however, it does not resolve my issue. If text was added using a textstyle that is defined with fontA (a good font) and then later changed using the properties palette to fontB (the offending font) the textstyle is still a good style BUT in this instance of text that textstyle is still defined with a good font BUT the text therein is actually using the bad font.
This LSP actually finds text STYLES that are defined with one font and changes it to a different font. What I believe I need is a means to find ALL text that is using fontA and replace that font with fontB.
This is an unlikely scenario so for the time being, I'm content to just update the styles.
Thanks for your interest and suggestion.
Sal
Once again, Dean, you have proven yourself to be a man of answers.
This is exactly what I was looking for.
Also, a HUGE thank you to Steve Doman and Joe Burke who actually wrote this code (wow) seven years ago and shared it with the world!!!
Thanks,
Sal
Once again, Dean, you have proven yourself to be a man of answers.
This is exactly what I was looking for.
Also, a HUGE thank you to Steve Doman and Joe Burke who actually wrote this code (wow) seven years ago and shared it with the world!!!
Thanks,
Sal
STRIPMTEXT has been a lifesaver more than once
STRIPMTEXT has been a lifesaver more than once
And even without the add-on STRIPMTEXT application, for quite a few versions now there has been the option to clear formatting in the Mtext Editing ribbon, Formatting section:
You do need to be in Editing an Mtext object, and select all the content, so yes, it's one-at-a-time. But when doing only one, it's directly available -- no loading of an application to do it.
And even without the add-on STRIPMTEXT application, for quite a few versions now there has been the option to clear formatting in the Mtext Editing ribbon, Formatting section:
You do need to be in Editing an Mtext object, and select all the content, so yes, it's one-at-a-time. But when doing only one, it's directly available -- no loading of an application to do it.
Excellent reminder, thank you!
Excellent reminder, thank you!
Can't find what you're looking for? Ask the community or share your knowledge.