Message 1 of 11
Not applicable
06-12-2018
02:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Does anyone have a lisp file or could make one to repeat an autoCAD command on a selection set.
I use (setq ss1 (ssget '((0 . "IMAGE")))) to select all of my images. Then, I want to use
(command "IMAGECLIP" "N" "S")
AutoCAD understands all of this together, but it will not repeat the image clip command on the entire selection set. It will only do it one time and then exit. I have the actual lisp routine below. I have tried to modify this to repeat, but I can not get it to work.
(defun c:ttt ()
(command "IMAGECLIP"
(princ
(setq ss1 (ssget '((0 . "IMAGE")))
)
)
"N" "S"
)
(princ)
)
Solved! Go to Solution.