I have numerous MText paragraphs that I need to combine into a single piece of MText. I want the paragraphs preserved in the final piece. I've found some routines that can combine pieces of MText but I don't know if they preserve the paragraphs.
I have DotSoft Toolpac but it doesn't seem up to the task. Can anyone direct me to a tool or code for this?
Solved! Go to Solution.
Solved by Neilw_05. Go to Solution.
Neil,
The first piece of code HERE worked for me on one triel. Hope it works for you.
Allen Jessup
Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
ToolPac Mtext Join (command: MTXJOILIN) won't do what you want?
Maybe this will work better?
http://cadtips.cadalyst.com/multiline-text/improved-text-mtext
Randy,
The TOOLPAC tools I have don't work with MTEXT, only DText. The command you mentioned is not recognized in my TOOLPAC.
I tried downloading and running Join Mtext.LSP but it doesn't seem to function properly in ACAD 2004. When I use it to combine 2 pieces of MTEXT it loses all but a few lines of text.
I'm having the same problem with the code in that post Allen. When I join 2 pieces of MText it loses all but a few lines of text.
I wonder if there is something in the code that is not compatible with ACAD 2004.
P.S. I tried running it in 2013 with the same results. Something is wrong with the code.
I tried the 1MT0, 1MT1,1MT2 code in the post you referenced Allen. It does the job so, Kudos to you for that one.
@Anonymous wrote:
I'm having the same problem with the code in that post Allen. When I join 2 pieces of MText it loses all but a few lines of text.
I wonder if there is something in the code that is not compatible with ACAD 2004.
P.S. I tried running it in 2013 with the same results. Something is wrong with the code.
Neil,
I only tried the code once in 2012. It worked as expected there. I'm glad others worked for you.
Allen
Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
@Anonymous wrote:
The TOOLPAC tools I have don't work with MTEXT, only DText. The command you mentioned is not recognized in my TOOLPAC.
Running ToolPac 14 here. It must be a new tool.
Copy....Paste....lol. It's got to do with Paragraph formatting. You could write a Lisp pulling code from STRIPMTEXT and TXT2MTXT and come up with something workable. I try to format my mtext paragraphs using tab dilenation. Here is what I do:
1. find/replace the tabs with [tab]
2. set my mtext width to 0
3. explode
4. Add \P to the front of the text lines
5. use TXT2MTXT to rejoin the text.
6. find/replace [tab] with actual tabs.
7. set paragraph setting globally
Actually there is some code in the link Allen posted that does a great job. Look at the code for OneMtext.LSP in the thread.
Mark Green
Working on Civil 3D in Canada
I guess it was a bit vague in the thread. Here is the .LSP I created from the code.
I found the tool in my Toolpac. It was under the MTEXT menu. The command is DSTP_MTJOIN.
I wish I had found it sooner but it's good to have the LISP tool too.
@Anonymous wrote:
I found the tool in my Toolpac. It was under the MTEXT menu. The command is DSTP_MTJOIN.
Terry must have renamed it. It's named MtxJoiLin in TP 14
There were about 50 pieces of MTEXT, each being a paragraph in a set of plan notes. If you explode them all and combine using TXT2MTEXT you end up with all the paragraphs consolidated into a single paragraph. That is not a solution.
Can't find what you're looking for? Ask the community or share your knowledge.