Code: Select all
;;(change visibility)
(repeat (setq x (sslength ent))
(setq obj (vlax-ename->vla-object (ssname ENT (setq x (- x 1) ))))
(if (= (vla-get-HasAttributes obj) :vlax-true)
(foreach att (vlax-invoke obj 'getattributes)
(if (= tagname (strcase (vla-get-tagstring att)))
(progn
(vla-put-invisible att :vlax-false)
);;close progn
);;close if
);;close foreach
);;close if
);;close repeatI want obtain this property :