@Anonymous wrote:
.... I need to join all the texts with only one selection. I need to put the texts together, but I have a file with lots of texts to put together. I needed to do this with a single selection. ... AutoCAD has TXT2MTXT ... , but I have to do one by one.
TXT2MTXT doesn't require you to select them one by one, if that's what you're saying. What should be the effect of the drawing order of the selected Text objects, if you select them all at once? Does the result need to be in positional order as TXT2MTXT does it, whether or not that's the same as the drawing order? It wouldn't be hard to make a routine if it can use drawing order, but that won't do if it's not going to give you the desired result.
I have a routine that requires you to select them one by one, because it uses the selection order for combining the contents, but you can pick as many as you want all in one command. It's OneMtext.lsp, available >here<. You would use the 1MT0 command in it, which puts a space [i.e. zero Enters] between the contents of each selected Text object in the overall combined result. [The other commands in it put 1 or 2 Enters to start a new line, without or with a blank line between, for each one's contents.] Unlike TXT2MTXT, it accepts selection of both plain-Text and Mtext objects. After using it, if you want it all strung out as one Text object as your description implies [I'm not sure that's what you meant], you could pick the result and in the Properties Palette, set its Defined width to zero and then Explode it.
EDIT: Your image came in while I was writing the above. That's a little different than what I understood from your initial description, though I now see I mis-read part of it. You just want to combine pairs of Text objects, separately from other pairs [i.e. not all together into one overall combined one], but with mass selection? The difficulty would seem to be in getting a routine to decide which pairs go together, but if the paired ones are always adjacent in drawing order, or if their Y coordinates always match and never match those of any other pair, it could probably be done.
Kent Cooper, AIA