[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Align MText Vertically or Horizontally
Tip# 3896 By Matt Sibum On 18-May-2012
Rated By 0 users Downloaded : 1281
Categories : Multiline Text
Software type : AutoCAD 2013
Rename File To : textalign.lsp,__MACOSX/,__MACOSX/._textalign.lsp
Line up multiple blocks of mtext in AutoCAD, all in one step.

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.


Average Rating:

User comments