rotate3d

AutoCad AutoLISP Functions

 
rotate3d
 
 
 

Rotates an object about an arbitrary 3D axis (externally defined: geom3d ObjectARX application)

(rotate3d args ...) 

Arguments

args

The order, number, and type of arguments for the rotate3d function are the same as if you were entering them at the command line; see ROTATE3D in the Command Reference.

To signify a null response (user pressing ENTER without specifying any arguments), use nil or an empty string ("").

Return Values

If successful, rotate3d returns T; otherwise it returns nil.

Examples

The following example rotates the selected objects 30 degrees about the axis specified by points p1 and p2.

(setq ss (ssget))
(rotate3d ss p1 p2 30)

AutoLISP support for the rotate3d function is implemented with the use of the SAGET library.