LISP- Alignment of Object Text

TOOLBAR N/A
COMMAND LINE ALIGNMAPTEXT
RIGHT CLICK N/A

Lisp function that aligns the text of a selection of items to the required alignment (Length, Connector or View).

Procedure

(AlignMapText sset Flag which)

sset is the selection set of objects to process.

Flag is a bitwise number that indicates the text to work on, i.e.:

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 you would use (AlignMapText (ssget) 1 "L")

to prompt the selection of objects, aligning the Item Size to Length you would use (AlignMapText (ssget) 2 "L")

to prompt the selection of objects, aligning the Item Elevation to View you would use (AlignMapText (ssget) 4 "V")

to prompt the selection of objects, aligning the Item Set information to Length you would use (AlignMapText (ssget) 16 "C")