LISP function that aligns the text of a selection of items to the required alignment (Length, Connector or View).
Procedure
(AlignMapText sset Flag which requires parameters)
sset is the selection set of objects to process.
Flag is a bitwise number that indicates the text to work on; for example:
1 = Item Number
2 = Size
4 = Elevation Text
8 = Alias Text
16 = Set Information
which is a string value either " L" or " C" or " V" (Length, Connector or View).
Command Line Examples:
To prompt the selection of objects, aligning the Item Numbers to Length, use (AlignMapText (ssget) 1 "L").
To prompt the selection of objects, aligning the Item Size to Length, use (AlignMapText (ssget) 2 "L").
To prompt the selection of objects, aligning the Item Elevation to View, use (AlignMapText (ssget) 4 "V").
To prompt the selection of objects, aligning the Item Set information to Length, use (AlignMapText (ssget) 16 "C").