PDA

View Full Version : Convert Text to Mtext



CAD-e-Corner
5th Sep 2006, 09:14 pm
Due to a trip to Iowa to see my cousin Jeremy marry, last week's CAD tip is a little late.

The AutoCAD Express Tool TXT2MTXT converts individual Text entities to a single Mtext entity.

Pull down menu: Express > Text > Convert Text to Mtext
Command: TXT2MTXT
Select text objects, or [Options] : [select Text]

http://photos1.blogger.com/blogger/6351/2557/400/T2MT_DTEXT.gif (http://photos1.blogger.com/blogger/6351/2557/1600/T2MT_DTEXT.gif)
converts these Text entities

http://photos1.blogger.com/blogger/6351/2557/400/T2MT_WRAPPED.gif (http://photos1.blogger.com/blogger/6351/2557/1600/T2MT_WRAPPED.gif)
to this Mtext entity

Well, that wasn't quite what was expected. By default the conversion runs the text together making wrapped Mtext. You can control this behavior with the TXT2MTXT Options:

http://photos1.blogger.com/blogger/6351/2557/400/T2MT_OPTIONS.gif (http://photos1.blogger.com/blogger/6351/2557/1600/T2MT_OPTIONS.gif)
uncheck Word-wrapping

http://photos1.blogger.com/blogger/6351/2557/400/T2MT_MTEXT.gif (http://photos1.blogger.com/blogger/6351/2557/1600/T2MT_MTEXT.gif)

to get this Mtext entity


The resultant Mtext has no width and the lines are terminated with hard returns. You can also use Options to control the sorting order of the selected Text.

Bonus Question: What is the tool to convert Mtext to Dtext?
Answer: EXPLODE


More... (http://cadecorner.blogspot.com/2006/05/convert-text-to-mtext.html)