goonkt Posted July 9, 2012 Posted July 9, 2012 i Want to make a command that will selectsimilar, copyclip and delete a selected 2d object. macro SelectSimilar;_copyclip;Delete but want to make it as a lisp routine Quote
MSasu Posted July 9, 2012 Posted July 9, 2012 Why don't just use Cut ( + ) instead of Copy ( + ) to Clipboard? Quote
goonkt Posted July 9, 2012 Author Posted July 9, 2012 My issue is really what function do i use to set an object to a variable. where i can then select similar and cut. Quote
BlackBox Posted July 9, 2012 Posted July 9, 2012 (defun c:FOO (/ ss) (if (setq ss (ssget "_:L")) (progn (command "._selectsimilar" ss "") (command "._cutclip") ) ) (princ) ) 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.