veteranus Posted September 12, 2015 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
satishrajdev Posted September 12, 2015 Posted September 12, 2015 What does your previous area means??? Quote
Lee Mac Posted September 12, 2015 Posted September 12, 2015 Have you tried the SELECTSIMILAR command? Quote
veteranus Posted September 12, 2015 Author 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
Lee Mac Posted September 12, 2015 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
veteranus Posted September 12, 2015 Author 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
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.