Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

In Search of a Particular Font

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
sbrusco
1864 Views, 7 Replies

In Search of a Particular Font

sbrusco
Collaborator
Collaborator

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


0 Likes

In Search of a Particular Font

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


7 REPLIES 7
Message 2 of 8
gotphish001
in reply to: sbrusco

gotphish001
Advisor
Advisor

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

Message 3 of 8
sbrusco
in reply to: gotphish001

sbrusco
Collaborator
Collaborator

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


0 Likes

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


Message 4 of 8
pendean
in reply to: sbrusco

pendean
Community Legend
Community Legend
Accepted solution
There is a free lisp floating around these forums called STRIPMTEXT: sounds like you need it to remove font overrides from MTEXT objects in files you have, then allow the definitions in STYLE command to take over.

There is a free lisp floating around these forums called STRIPMTEXT: sounds like you need it to remove font overrides from MTEXT objects in files you have, then allow the definitions in STYLE command to take over.
Message 5 of 8
sbrusco
in reply to: pendean

sbrusco
Collaborator
Collaborator

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


Message 6 of 8
spuzio8HD68
in reply to: pendean

spuzio8HD68
Explorer
Explorer

STRIPMTEXT has been a lifesaver more than once

0 Likes

STRIPMTEXT has been a lifesaver more than once

Message 7 of 8
Kent1Cooper
in reply to: sbrusco

Kent1Cooper
Consultant
Consultant

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:

Kent1Cooper_0-1725540244403.png

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.

Kent Cooper, AIA
0 Likes

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:

Kent1Cooper_0-1725540244403.png

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.

Kent Cooper, AIA
Message 8 of 8
spuzio8HD68
in reply to: Kent1Cooper

spuzio8HD68
Explorer
Explorer

Excellent reminder, thank you! 

0 Likes

Excellent reminder, thank you! 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report