×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Mtext keeps underlining...

Mtext keeps underlining...

Mtext keeps underlining...

(OP)
I have a problem with the Mtext command. Example:

Airport Lights

1 - line one
2 - line two

When I try to underline Airport Lights

1 and 2 also underline. Even if I clear the lines they come back when I select the OK button.

I first started to see this on AutoCAD 2000 - now I am having the problem with AutoCAD 14.

Please let me know if you can help.

Thanks!

RE: Mtext keeps underlining...

(OP)
I finally found the fix for this (or atleast how to get around it)...if anyone else needs it let me know. Thanks!

RE: Mtext keeps underlining...

I have the same trouble with Acad2000. How do you fix it?
TYIA

RE: Mtext keeps underlining...

(OP)
This is a really big pain, but atleast it works until there is a better way.

Type in the variable MTEXTED and set the editor to Notepad.
Edit the section of text with the underlines.
What you'll see when Notepad opens up is almost code like stuff - especially if you are using odd fonts. The thing that you want to look for is \L. This tells the text that it needs to start to underline. The problem is that it doesn't put in a \l (lower case L) to tell it to stop underlining.

To fix the underline make sure there is a \L at the beginning of the text string - this will be after the semicolon and also make sure there is a \l at the beginning of each text thing where you want the underlines to stop at. An example would be as follows:

{\fUniversS 45 Light|b0|i0|c0|p2;\LTITLE

\l1. Text that you don't want underlined

\L2. Text that you want underlined.}

I hope this helps - I know it's a pain. If you want to change the editor back to normal you can type in MTEXTED and then internal. If you use the internal after you place the \L and \l you will need to redo it.

Hope there's an easier way but so far this is the only thing I found that works.

RE: Mtext keeps underlining...

Hmm, this doesn't seem to happen in 2000LT, not in my copy anyway....:)
An easier way I would imagine than messing around with notepad is to use the property manager thingy.  Select the text and then press CTRL and 1 together.  In the 'contents' box will be the text together with all the format codes, which you can then edit.

RE: Mtext keeps underlining...

(OP)
I tried doing this but it still doesn't work. It still tries to edit the text with the internal editor which is causing the problems. Thanks anyways.

RE: Mtext keeps underlining...

Dear Crystalrae;

I notice that autocad issued a service pack for Architectural Desktop that fixes MText Underlining problems that occur with users of Windows 2000. Perhaps you need to check your version of AutoCad and see if you have the latest service packs installed at work and at home.

Regards Adrian

RE: Mtext keeps underlining...

Crystalrae and others,

The too much underlined text issue is only on Acad 200 running on Windows 2000 (I believe).

The problem is "supposedly" a Windows issue, but Autodesk has a "patch" available for version 2001 to fix it. So that would indicate it is an Autodesk problem, but ...

The fix is to upgrade. Haa, the other fix is to use an external MText editor to fix the underlining (brackets around the text you want underlined, and the "\L" before it) problem.

Unless of course you don't use MText at all. That is another option.

Probably just ought to write a LISP routine to change the editor to external (notepad), open the text in it, and which it back to internal.

Mr. Pickles

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources