
Originally Posted by
CAD Brad
tharwat313 - I'm trying to incorporate your lines of text into my lisp routine but am having a hard time getting it to work. I changed the "1 1" to "ss ss" and it works, but I don't have the ability to select multiple objects so I am working to get that fixed.
So here is the multiple Selection set as you wanted .
So you can add your scales values that you included in your first post as best as you want.
Code:
(defun c:THrev ( / i o ss x )
;THARWAT Nov 04.2010
(if (eq "Yes" (progn (initget 0 "Yes No")(getkword "\n Object Selection <Path> [Yes No]: <No> ")))
(progn
(setq i 0)
(setq o (ssget "_:L" '((0 . "CIRCLE,LWPOLYLINE"))))
(setq ss (sslength o))
(repeat ss
(setq x (ssname o (setq i (1+ i))))
(command "_.revcloud" "style" "calligraphy" "a" 1 1 "_o" o ""))
)
(progn
(command "_.revcloud" "A" 1 1 (while (> (getvar "CmdActive") 0) (command pause)))
)
)
(princ)
)
Good luck
Tharwat