Butch Posted March 7, 2009 Posted March 7, 2009 The title says it all. I want to use quickselect and them hide the selected objects. Is that possible? Thank in advance:-) Quote
lpseifert Posted March 7, 2009 Posted March 7, 2009 Does your version have the command AecHideObjects? Quote
Cad64 Posted March 8, 2009 Posted March 8, 2009 Sorry, there's no way to do this in Autocad. You will need to turn off or freeze the layer that the objects are on. Quote
lynchwu Posted March 8, 2009 Posted March 8, 2009 (DEFUN C:ObjHide () (princ "\nSelect hide:") (if (null SSenth) (princ) (progn (setq ssolb SSenth) (setq sseolb SSeobj) );end progn );end if (initget 1) (setq SST (ssget)) (if (null sst) (princ) (progn (setq sseobj sst) (setq SSenth (sslength SSeobj)) (setq nob 0) (repeat SSenth (setq SSent (ssname SSeobj nob)) (redraw ssent 2) (setq nob (+ nob 1)) );end repeat (if (null ssolb) (princ) (progn (setq SSenth (+ SSolb SSenth));回归实体数 (setq nob 0) (repeat SSolb (setq SSent (ssname SSeolb nob)) (setq SSeobj (ssadd SSent sseobj)) (setq nob (+ nob 1)) );end repeat(回归实体集) );end progn );end if (princ) );end progn );end if );end defun (DEFUN C:ObjShow () (setq nob 0) (if (null ssenth) (princ "\n No hide object.") (progn (repeat SSenth (setq SSent (ssname SSeobj nob)); (redraw ssent 1); (setq nob (+ nob 1)) );end repeat (setq ssenth nil) (setq ssolb nil) (setq sseolb nil) (setq SSend nil) );end progn );end if (princ) );end defun Quote
Cad64 Posted March 8, 2009 Posted March 8, 2009 Thank you lynchwu, but can you give a little explanation of what this routine does? Did you write this yourself? If not, please give credit to the author. :wink: Quote
lynchwu Posted March 8, 2009 Posted March 8, 2009 "Select object and then hide them " i don't know the author,it's from Internet. Quote
Butch Posted March 8, 2009 Author Posted March 8, 2009 ....errrrrrm how to use this text that he wrote? Quote
fuccaro Posted March 8, 2009 Posted March 8, 2009 ....errrrrrm how to use this text that he wrote?See here: http://www.cadtutor.net/forum/showthread.php?t=1390 Quote
David Bethel Posted March 8, 2009 Posted March 8, 2009 Doesn't DXF group 60 toggle entity visibility? Has it been consistent over the releases? -David 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.