itacad Posted March 19 Share Posted March 19 Hello, in a drawing I use a block with attributes. The same attributes in some cases must be shown and in other cases not. The only system I have devised is to give membership to a specific frozen layer in cases where the attribute should not be shown. I ask for clarification: it is not possible to set the visibility of an attribute of a block at discretion, correct? In practice, I cannot in a file use the same block in some cases with visible attributes and in some cases with non-visible attributes, correct? Greetings Quote Link to comment Share on other sites More sharing options...
BIGAL Posted March 20 Share Posted March 20 (edited) You can entmod a attribute. (setq ent (entget (car (nentsel "\nPick an attribute to turn off")))) (entmod (subst (cons 70 1) (assoc 70 ent) ent)) Turning back on is a bit harder unless you know tag name, or just turn all attributes on then do off again. (70 . 0) is on. Edited March 20 by BIGAL Quote Link to comment Share on other sites More sharing options...
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.