Translates and rotates objects, allowing them to be aligned with other objects (externally defined: geom3d ObjectARX application)
(align arg1 arg2 ...)
align function are the same as if you were entering ALIGN at the command line.Arguments to the AutoCAD ALIGN command. The order, number, and type of arguments for the
nil or an empty string ("").To indicate a null response (a user pressing ENTER), specify
T if successful; otherwise nil.
The following example specifies two pairs of source and destination points, which perform a 2D move:
(setq ss (ssget))
(align ss s1 d1 s2 d2 "" "2d")