veteranus Posted September 12, 2015 Share Posted September 12, 2015 Hi guys, I need a lisp that something like quickselect command. I want to select my precious area and want to select same layers on that "selected area" only. Is that this can be done? I am grateful for all the help. Regards. Quote Link to comment Share on other sites More sharing options...
satishrajdev Posted September 12, 2015 Share Posted September 12, 2015 What does your previous area means??? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 12, 2015 Share Posted September 12, 2015 Have you tried the SELECTSIMILAR command? Quote Link to comment Share on other sites More sharing options...
veteranus Posted September 12, 2015 Author Share Posted September 12, 2015 Have you tried the SELECTSIMILAR command? hi, of course I tried. But I want something more specific. this is the simplest example. Red lines are LAYER1, yellow lines are LAYER2. I want to select area like this and want to select just all of LAYER1 lines in my "selected area". I hope you understand lee... thanks for answer. regards. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 12, 2015 Share Posted September 12, 2015 (defun c:ls ( / e ) (if (setq e (car (entsel "\nSelect object on target layer: "))) (sssetfirst nil (ssget (list (assoc 8 (entget e))))) ) (princ) ) Quote Link to comment Share on other sites More sharing options...
veteranus Posted September 12, 2015 Author Share Posted September 12, 2015 (defun c:ls ( / e ) (if (setq e (car (entsel "\nSelect object on target layer: "))) (sssetfirst nil (ssget (list (assoc 8 (entget e))))) ) (princ) ) oh thats it. it works just ı want thanks for your code lee mac. Quote Link to comment Share on other sites More sharing options...
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.