AutoCAD 2010/2011/2012

Reply
Valued Contributor
Posts: 62
Registered: ‎02-13-2003
Message 1 of 21 (4,835 Views)
Accepted Solution

Convert multiple text items to mtext WITHOUT combining into 1 mtext?

4835 Views, 20 Replies
01-31-2012 11:45 AM

Hey all,

 

I have multiple singular text objects on my screen and I want to convert them to mtext so I can use the Background Mask option within mtext on my drawing.  Any ideas on how to quickly select all the text and convert it to mtext without it combinin ginto 1 mtext?

 

Thanks for the help!

Mentor
Posts: 231
Registered: ‎02-04-2009
Message 2 of 21 (4,830 Views)

Re: Convert multiple text items to mtext WITHOUT combining into 1 mtext?

01-31-2012 11:55 AM in reply to: caddude

I found the following link using the search feature at these Autodesk Forums

 

http://forums.autodesk.com/t5/AutoCAD-2008/Converting-Text-to-MText/m-p/2296453/highlight/true#M3707...

 

Active Contributor
Posts: 35
Registered: ‎10-01-2008
Message 3 of 21 (4,759 Views)

Re: Convert multiple text items to mtext WITHOUT combining into 1 mtext?

02-01-2012 09:48 AM in reply to: caddude

Hi there

 

try to download TMTI.vlx from Cadkits. i think that routine may help what you need.

 

i tried to attach the file here but with vlx extension was not permitted to upload in this forum.

 

Good luck.

GoonS

 

Mentor
Posts: 325
Registered: ‎04-14-2009
Message 4 of 21 (4,712 Views)

Re: Convert multiple text items to mtext WITHOUT combining into 1 mtext?

02-06-2012 07:01 AM in reply to: caddude

what;s wrong with txt2mtxt command???

*Expert Elite*
Patchy
Posts: 6,166
Registered: ‎09-16-2009
Message 5 of 21 (4,708 Views)

Re: Convert multiple text items to mtext WITHOUT combining into 1 mtext?

02-06-2012 07:09 AM in reply to: vakhtang

Everything, if you use Txt2Mtxt you don't get the joy of Free registration and news letter :smileyvery-happy:

Mentor
Posts: 325
Registered: ‎04-14-2009
Message 6 of 21 (4,703 Views)

Re: Convert multiple text items to mtext WITHOUT combining into 1 mtext?

02-06-2012 07:23 AM in reply to: Patchy

awwww thats cruel :smileyvery-happy:

*Expert Elite*
Posts: 2,501
Registered: ‎05-21-2008
Message 7 of 21 (4,677 Views)

Re: Convert multiple text items to mtext WITHOUT combining into 1 mtext?

02-06-2012 02:03 PM in reply to: vakhtang

TXT2MTXT command converts multiple DTEXT objects into a single MTEXT object, as specifically not wanted by OP.

 

I'd like this too.  Maybe it could be added as an option in the TXT2MTXT command optionsdialogue box.  That's my wish.


Credit where credit is due! Give kudos or accept as solution whenever you can.

Mentor
Posts: 325
Registered: ‎04-14-2009
Message 8 of 21 (4,670 Views)

Re: Convert multiple text items to mtext WITHOUT combining into 1 mtext?

02-06-2012 02:11 PM in reply to: troma

...AND BY SINGLE DTEXT OBJECT IT'S MEANT WHAT? ONE LETTER?ONE WORD? ONE TEXT LINE?

AND, ACTUALLY, IF THE PROBLEM IS BACKGROUND MASK - WIPEOUT IS GOOD ANSWER TO IT

*Expert Elite*
Posts: 2,501
Registered: ‎05-21-2008
Message 9 of 21 (4,653 Views)

Re: Convert multiple text items to mtext WITHOUT combining into 1 mtext?

02-07-2012 05:47 AM in reply to: vakhtang

A single DTEXT object is an object that is a single piece of DTEXT.  I don't know how else to define it.  It is considered one object by AutoCAD.  Multiple lines of DTEXT can never be one object, but multiple lines of MTEXT can.  It could be as little as one letter, if that's how you wrote it!

Sorry, no, wipeout is not a good option.  They're messy; sometimes they move with the text, sometimes they get left behind and you plot your sheet and notice strange white areas for no reason.  Occasionally the drawing order will get messed up, and all your pieces of text will end up behind the wipeouts.  They also stop you from double-clicking to edit the text.  And every now and then someone will leave the frames on and you'll get boxes around all your text where you don't want them.  The MTEXT background mask, set to use drawing background color, is much more stable and useful.  But when converting DTEXT to MTEXT, sometimes I want the result to be one large piece of multiline text (if I'm converting a list of notes from an old drawing and reusing it), and other times I want  all my little pieces of text to remain as separate objects, with different text heights, rotations, layers, justifications etc, but to be MTEXT instead of DTEXT.

In message 2 of this discussion there is a link to a similar previous discussion.  Over there, someone posted some lisp code that apparently solves this problem.  I don't know much about lisp and I haven't tried this code, but it's there if anyone is interested.


Credit where credit is due! Give kudos or accept as solution whenever you can.

Mentor
Posts: 325
Registered: ‎04-14-2009
Message 10 of 21 (4,648 Views)

Re: Convert multiple text items to mtext WITHOUT combining into 1 mtext?

02-07-2012 06:12 AM in reply to: troma

OK, STILL TXT2MTXT IS A GOOD SOLUTION - JUST TRANSFER TXT TO MTXT OBJECT BY OBJECT, ( OR, AS YOU DEFINE IT - LITTLE PIECE BY LITTLE PIECE:smileyhappy: NOT NESESSARY INTO MULTILINE MTEXT.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community




Connect with AutoCAD

Twitter

Facebook

Blogs

Pinterest

Youtube