Troispistols Posted June 8, 2012 Posted June 8, 2012 Hi, I've found this line that delete all images but it doesn't work well in a lisp if there's no image in the drawing. (command "_.image" "_detach" "*") I need someone to modify this line so that If there's images, delete them, else do nothing ? Thanks ! Quote
Tharwat Posted June 8, 2012 Posted June 8, 2012 Maybe .... (if (ssget "_x" '((0 . "IMAGE"))) (command "_.-image" "_detach" "*") ) Quote
Lee Mac Posted June 8, 2012 Posted June 8, 2012 See this thread: http://www.theswamp.org/index.php?topic=39468 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.