align

AutoCad AutoLISP Functions

 
align
 
 
 

Translates and rotates objects, allowing them to be aligned with other objects (externally defined: geom3d ObjectARX application)

(align arg1 arg2
...) 

Arguments

arg1 arg2...

Arguments to the AutoCAD ALIGN command. The order, number, and type of arguments for the align function are the same as if you were entering ALIGN at the command line.

To indicate a null response (a user pressing ENTER), specify nil or an empty string ("").

Return Values

T if successful; otherwise nil.

Examples

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")