Issue with visibility states & attributes

Issue with visibility states & attributes

Anonymous
Not applicable
2,261 Views
5 Replies
Message 1 of 6

Issue with visibility states & attributes

Anonymous
Not applicable

In AutoCAD 2019 LT I am trying to set different attributes to different visibility states within a block.

In block editor I have set multiple attributes to different visibility states, and as I select the different visibility states within the block editor it shows the proper attributes being hidden. But once I exit the block editor and try to change the block's visibility state, the same attribute is shown for all visibility states even though it should be hidden and other attributes should be shown.

I have tried simple solutions like purging all items, deleting out the block, and reinserting it. How do I get the proper attributes to be shown with their assigned visibility state?

0 Likes
Accepted solutions (1)
2,262 Views
5 Replies
Replies (5)
Message 2 of 6

Libbya
Mentor
Mentor

ALWAYS post the block.  Image files are only marginally useful if you post the block also.  

 

Best guesses: you need to run ATTSYNC in model space after editing attributes or that you have more than one attribute with the same tag.  

0 Likes
Message 3 of 6

Anonymous
Not applicable

Thanks for the tip. Here is the DWG file with the block.

0 Likes
Message 4 of 6

Libbya
Mentor
Mentor
Accepted solution

My second guess was correct.  You have multiple attributes with the same tag.  You cannot do that with dynamic blocks.  

 

As far as your block goes, why not use annotative scaling and make the block annotative?  That would make the scaling automatic with changes to the annotation scale or changes to the viewport scale.  

 

If you're opposed to using annotative scaling [facepalm] then using multiple attributes and visibility states is still the hard way to do it.  Use a linear parameter (no grips) and a scale action to scale the attribute.  Use a lookup to set the linear parameter to the appropriate sizes for the specific scales.  

Message 5 of 6

Anonymous
Not applicable

Thanks a lot for the alternative suggestions! Not sure why I was going this route.

0 Likes
Message 6 of 6

Libbya
Mentor
Mentor

Here is how to make the scale/lookup version.

 

 

0 Likes