Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Globally change mtext font style

Status
Not open for further replies.

M3Details

Structural
Mar 27, 2001
3
Trying to globally change mtext style font in Acad2k2
I'm using Win2k op sys
I have multible mtext notes in drawing
The style name changes but content of mtext holds onto font and it doesn't change.
Is there way to access the content of the mtext globaly and change font?
 
Replies continue below

Recommended for you

I am not on my machine that has Autocad installed but I think I remember how to do this without looking. If not let me know at dave_adkins@msn.com and I will recheck.

Try changing one of the pieces of mtext by highlighting it and going into properties. Then select the style from the properties list. If that works then use you paintbrush to change the rest. If it doesn't work do mtext edit, highlight all the text in the box and change the font on the toolbar at the top. Then try your paintbrush tool again. I will be trying this out myself as soon as I boot up the other computer.

Good Luck
 
I just tried it on my machine. Try changing the font within the ORIGINAL text style that you used rather than creating a new style. You need to be in the text edit box actually editing an mtext object that was created in that style to do this. As soon as you hit 'apply' all text previously placed with that text style will instantly change to the new font. No need to select or use paint.

If you have a favorite font and hate the 'txt' font that is the Autocad default try this: In a blank drawing change the font within the Style 'STANDARD'. Then under "Save As" save it as 'acad.dwt'. This is the default template that is in effect when you open a new blank drawing sheet. The text style STANDARD will always come up with your selected font rather than the default 'txt' font.

You can also make other mods to acad.dwt such as adding layer names and layer attributes. You can even place block definitions in the acad.dwt file. Place the blocks then erase them from the drawing but do not purge them. The block definitions will be available in any new blank drawing even though they do not appear on the screen. Just be careful to save as a dwt file not a dwg.

Mods to the acad.dwt file will not affect any drawings you have previously created.

Good Luck
DPA
 
I appreciate the suggestion, but it still retains the font style in the content.
I also tried changing the font with the style name but if the mtext has {\fdauphin|b0|i0|c0|p18;
I'm assuming the \f refers to FONT
I'm assuming dauphin refers to the actual font that shows up
I'm clueless what |b0|i0|c0|p18; means
After the ";" is my text
I have a few different fonts in the drawing and I'm trying to change them to simplex. The style says it's simplex but the content of the text has those codes in it and the appearance of the font is based on that.
I thought there was a lisp written about two years ago that would take care of this situation, but I can't remember where I saw that.
Thanks
 
Could it be the text editor you have assigned in your setup of Autocad? I seem to recall that some text editors require funny codes like that to express certain characters.

Do the funny characters you mentioned show up as part of the text when you are in edit mode? Maybe you just need to backspace over those characters. Maybe they are overriding your style.

Also are these lines of text mtext for sure or could they be just text? If so you would probably have to run the macro 'txt2mtxt' which comes with the express tools in ACAD2004. Express tools are on your installation CD.

Good luck,
DPA
 

Use "qselect" (or "filter") to make a selection set then use modify, properties, text, style.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor