Jump to content

Recommended Posts

Posted

The title says it all.

I want to use quickselect and them hide the selected objects.

Is that possible?

Thank in advance:-)

Posted

Does your version have the command AecHideObjects?

Posted

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.

Posted
(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                            

Posted

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:

Posted

"Select object and then hide them "

i don't know the author,it's from

Internet.

Posted

....errrrrrm how to use this text that he wrote?

Posted

Doesn't DXF group 60 toggle entity visibility? Has it been consistent over the releases? -David

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...