Here is a simple lisp routine that lets you select the individual attribute to make it “invisible.”
Here’s how:
- INVIS <enter> to start
- Select the attributes that you would like to be invisible
- <enter> when finished
(defun c:invis (/ ent obj)
(vl-load-com)
(while (setq ent (car (nentsel "\nSelect Attribute: ")))
(if (eq "ATTRIB" (cdr (assoc 0 (entget ent))))
(vlax-put (setq obj (vlax-ename->vla-object ent)) 'invisible -1)))
(princ))
