home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
f
/
feb93.zip
/
TIP843.LSP
< prev
next >
Wrap
Text File
|
1993-01-14
|
534b
|
19 lines
;TIP843: CPR.LSP (C)1993, PAUL J. MUTSCHLER
(defun c:cpr (/ ss1 r_tation a_ngle l_nth i e_nt)
(SETVAR "CMDECHO" 0)
(setq ss1(ssget))
(setq r_tation(getpoint"\nSelect Rotation Point: "))
(setq a_ngle(getint"\nEnter Rotation Angle: "))
(setq l_nth(sslength ss1))
(setq i 0)
(repeat l_nth
(setq e_nt(ssname ss1 i))
(command "copy" e_nt "" "0,0,0" "@0,0,0")
(setq i(+ 1 i))
)
(command"rotate" ss1 "" r_tation a_ngle)
(princ)
(command"redraw");this needs to be a regen if using a DLP.
)