Jump to content

Merge multiple mtext objects?


Recommended Posts

Posted

Is there a way to merge multiple mtext objects into a single mtext?

 

Thanks

Posted

can you explain that a bit further?

 

do you mean if (for instance) somebody has added a second block of Mtext as a second line instead of editing the existing and using a carriage return?

Posted

In express tools, you can convert text to MText. So you could explode your MTexts first to single line text and then convert them all together back to Mtext

Posted

thers is no direct comman di am aware of, but i ususaly do this.

double click the second mtext so it will open in mtext editor. there, selct the taxt with mouce & ctrl+c. than clase the editor. now click on the first mtext, open it in editor & paste & clcik ok. than delete the second metext object

  • 16 years later...
Posted

Any chance there is an alternative solution?  I brought in an old sheet spec into 2024 and it shows 1000 separate mtext lines instead of 1 mtext object whose size and columns self adjust when editing my spec for the project.

Posted
3 hours ago, Mike M said:

Any chance there is an alternative solution?  I brought in an old sheet spec into 2024 and it shows 1000 separate mtext lines instead of 1 mtext object whose size and columns self adjust when editing my spec for the project.

 

If you pull up TXT2MTXT with nothing selected, you can change the settings. You have to be careful about how it adds texts to your mtext: it can take them in order of selection or in order of creation. It might be difficult to get the result you want, depending on how the texts are laid out.

Posted

Taking 100 lines of mtext you could read each line based on its Y value, and make a new one. What worries me is you say "columns self adjust".

 

I think the only way to respond is if you can post a sample dwg.

Posted

Mike M must have left the building.

 

One solution could be to copy the text from AutoCAD, paste it into Word using "Paste Special" as unformatted text, make your edits, paragraphs, etc. and then copy it back to AutoCAD.

 

In AutoCAD, use the Mtext command to paste the edited text back as MText.

 

That might be the quickest method depending on what you have now and what you need.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...