This routine from Matt Sibum will allow you to align multiple blocks of mtext in AutoCAD — horizontally or vertically — all in one step. Load the LISP file, then use the command TX to align the mtext blocks vertically along the same x axis. Use the command TY to align the mtext blocks horizontally along the y axis. With both routines you first select a point, then select the mtext objects. This routine works by changing the x or y coordinate (depending on which command you run) of each mtext object to match the x or y of the selected point. Note that the justification of each mtext object is not altered; only the location of the insertion point is altered. The LISP code itself is well commented if you want to inspect how this is done.
|