Have you used these six AutoCAD text features?

In this article, I have listed six AutoCAD text related features which can be used to make your CAD workflow more productive.

TEXTFIT:

This command can be used to change the width of text to fit it in the required space like title block or inside small objects of drawing keeping its height unchanged. This command works only for single line text.

Type TEXTFIT on the command line and press enter your cursor will change to a pickbox, click on text for which you want to change the width and specify new text width dynamically using your cursor or by entering width on the command line.

TEXTMASK:

As the name suggests this command will create a mask around text to make the text clear against the background. This feature can be used at places where you want to write text over hatches, gradients or drawing objects.

AutoCAD text features

To start this command type TEXTMASK on the command line and press enter. Now click on text (Mtext or single line text) on which you want to apply mask and press enter again. The area under text will be cleaned to make text clearly visible against the background.

You can also change area which is cleaned around text using Wipeout Offset. Type WIPEOUT on the command line and press enter then click on the offset option from the command line.

mask text in AutoCAD

Command line will prompt you to enter offset factor. If you enter offset factor of 1 the wipeout distance around text will be equal to the height of text similarly an offset factor of 0.5 will create a wipeout distance around text equal to half of text height. Select appropriate text offset value and press enter to continue.

To make frame appear or disappear around the text mask use WIPEOUTFRAME system variable and toggle its value to 1 or 0 respectively. To remove masking around text use TEXTUNMASK command and click on text on which masking is applied then press enter.

TEXTTOFRONT:

In order to bring all text from your drawing on top of other entities, you can use this command. Type TEXTTOFRONT on command line press enter then select text from options of the command line.

brng text to front

All text entities ie Mtext and single line text will appear in front of every other entity. This is especially useful in cases where your text is overlapped by polylines containing width or gradients that hide text.

Using this command you can also bring other entities like dimensions and leader lines to the front by selecting All from options of the command line.

MIRRTEXT:

Mirroring text is not similar to mirroring objects in AutoCAD, if you try mirror command for mirroring text you will get a copied text at mirrored distance from mirroring line which is not laterally inverted as shown in the image below.

You need to change the value of MIRRTEXT system variable to 1 for making mirrored copies of Text and Mtext so that they are laterally inverted just like a mirrored copy as shown in the image below.

Importing text:

If you have long paragraphs of text which you want to import in AutoCAD then this tip is for you. Start MTEXT and select import text from text editor ribbon as shown in the image below. Locate TXT or RTF file from the open window and click OK to import that text in your drawing.

AutoCAD text features

You can add formatting to text after importing it in AutoCAD from notepad but if your text contains formatting in RTF file then those formatting will be retained even in AutoCAD.

Related: Import text from TXT and MS Word file in AutoCAD

Converting text to Mtext and vice versa:

Using this express tool you can convert single or multiple lines of text (DTEXT) into Mtext with a single click. Type TXT2MTXT on the command line and press enter, select text from your drawing and press enter again. Your old text lines will be deleted and it will be replaced with single Mtext.

In order to convert Mtext to text you can use explode command. Select Mtext then type X on the command line and press enter to convert Mtext to text.

Do you have questions related to this tip? Let us know in comments below.

Learn AutoCAD from basics to a professional level with our self-paced online courses.

View Details
View Details

About the Author:

I am a mechanical engineer and I have worked with Design, Manufacturing and Training industries but now SourceCAD is my full-time work and I use it to train students all over the world. I also train corporate clients and help them develop the skill set of their workforce.

I am Autodesk AutoCAD Certified Professional and an Autodesk expert elite member. I am a regular contributor of AUGI World magazine and apart from SourceCAD I also develop AutoCAD video courses for Pluralsight and other E-Learning businesses.

22 Comments

  1. Danny Linker October 4, 2017 at 5:31 pm - Reply

    Hello, I have a dwg with multiple Mtexts, consisting of 2 lines (with an ‘Enter’ between the lines). How can I convert them to single line texts without splitting them into 2 separate texts (1 tekst per line). So: I want to remove the ‘Enter’ between line 1 and line 2 of my Mtext and after that I want to Explode the Mtext into Texts.

  2. John Damman November 9, 2016 at 2:01 am - Reply

    I use TORIENT (text orient) quite frequently. Also, MTEXT has a really easy-to-use background feature which has made TESTMASK completely useless for me. This background can even be manipulated in the properties dialog box.

    • Jaiprakash Pandey November 9, 2016 at 2:43 am - Reply

      Thanks for your inputs John.

  3. Anonymous February 25, 2016 at 2:26 am - Reply

    TEXTFIT, new command for me, but use width factor on the properties palette.

    TEXTMASK, another new command. Much better than drawing a closed loop around text for selecting additional boundary when hatching.

    MIRRTEXT, again new command to me, but can be achieved with toggle in properties palette or quick props.

    Great article Jaiprakash Sahab!

    • Jaiprakash Pandey February 25, 2016 at 10:30 am - Reply

      Thanks

  4. Anonymous February 21, 2016 at 6:08 am - Reply

    Thanks

    • Jaiprakash Pandey February 21, 2016 at 12:39 pm - Reply

      Welcome

  5. Emerson Molina February 11, 2016 at 1:37 pm - Reply

    Also try TXTEXP command.. Text explode..

    • Jaiprakash Pandey February 11, 2016 at 2:28 pm - Reply

      Great suggestion Emerson!

  6. Syed February 8, 2016 at 2:43 pm - Reply

    Dear JaiPrakash Sahab, Thanks a lot. God bless you, it is very helpful to the CAD users

    • Jaiprakash Pandey February 8, 2016 at 4:39 pm - Reply

      Welcome Syed

  7. Anonymous February 6, 2016 at 12:29 pm - Reply

    Your whole tutorial are Very valuable information for me sir……………………………Thank you verymuch……………

    • Jaiprakash Pandey February 6, 2016 at 12:54 pm - Reply

      Welcome

  8. Anonymous February 5, 2016 at 7:12 pm - Reply

    Nice article, most of them I am using except textfit. Thanks for sharing.

  9. Mark norton February 5, 2016 at 6:58 am - Reply

    You forgot to mention hyperlink text. Much more powerful than just importing text.

    • Jaiprakash Pandey February 5, 2016 at 11:36 am - Reply

      Thanks Mark for suggesting it, I will add it in other relevant articles.

  10. Lewis Skiles February 5, 2016 at 1:56 am - Reply

    I have not had a lot of experience with LT, but I know there are limitations and one of them is no Express Tools and TXT2MTXT is an Express command.
    (see this conversation: http://forums.augi.com/showthread.php?155772-txt2mtext-in-AutoCAD-LT-2015)
    You can find them from third party software companies if you have a mind to.

    • Jaiprakash Pandey February 5, 2016 at 11:22 am - Reply

      Yes Lewis you are correct this is an express tool which is currently present in AutoCAD only not in LT, LT is a limited version of full feature AutoCAD so you should expect it to contain only limited number of tools. As mentioned by atait646738 in your shared AUGI thread CHSPACE is included in LT which is also an express tool so in near future you may expect Autodesk to include TXT2MTXT as well in LT.

  11. Susan February 4, 2016 at 8:11 pm - Reply

    How do you convert dtext to mtext in autocad lt?

    • Jaiprakash Pandey February 4, 2016 at 8:38 pm - Reply

      DTEXT is simple AutoCAD single line text and it can also be converted to MTEXT using TXT2MTXT command as mentioned in the article

  12. Anonymous February 4, 2016 at 7:53 pm - Reply

    your auto cad video are excellent please tell about absolute coordinate which formula for rectangular dimension

    Thanks

    Sohail

    • Jaiprakash Pandey February 4, 2016 at 8:40 pm - Reply

      Your question is not clear to me Sohail, can you please explain what do you mean by “rectangular dimension”?

Leave A Comment