@cyberflow wrote:
.... tons of label in seperate text lines.
They are all parallele (same angle) but with 0.6 distance between each text ....
The purpose of the lisp will bee to regroup all of the concerned labels into a single mtext (that could be verified with the distance offset)
.....
Am I correct in assuming that you mean you want to regroup all of each related group of Text lines into its own separate Mtext object, and not all of them in the entire drawing into one [as the boldfaced part above implies, to me]? And that "verified by the distance offset" means something like "found to be within the limited distance of each other" as a way of deciding which ones are part of a related group? If so, using the TXT2MTXT suggestion would require you to go around and pick all of those groups separately, which I assume is not what you want to do.
It might be possible, but a question arises: How close to each other are the closest groups? If a routine takes a piece of Text and reaches out around it with an expanding crossing window looking for more nearby, until it goes a couple of steps without finding any more, is there any chance it might find something that belongs in another group than the one related to the initial piece of Text? Or are the groups, at their closest, still far enough apart from each other to prevent that?
Kent Cooper, AIA