Attribute Definition Visibility Trouble

Attribute Definition Visibility Trouble

ndawsonmccann
Advocate Advocate
656 Views
3 Replies
Message 1 of 4

Attribute Definition Visibility Trouble

ndawsonmccann
Advocate
Advocate

Hello, I am working on a seemingly simple dynamic block that is a rectangle with an Attribute Definition over it. I want to be able to array it between 1 to 5 positions. The rectangle works just fine. 

 

However, I cannot get the attribute to disappear through a visibility state. All five of them are visible at all times. I thought I found a solution through Lookup tables but I still cannot get them to work.

 

Should or can I make the attribute array with the rectangle?

 

I have attached my sample block.

 

Thanks, Nick

0 Likes
Accepted solutions (1)
657 Views
3 Replies
Replies (3)
Message 2 of 4

Libbya
Mentor
Mentor

Each attribute in a block should have a unique tag.  If you have more than one attribute with the same tag it will cause issues, especially with visibility states.  Because of this you should not array attributes because all of the arrayed attributes will have the same tag.  

 

If you only want 1-5 rectangles, each with an attribute, then I'd recommend using visibility states.

0 Likes
Message 3 of 4

ndawsonmccann
Advocate
Advocate
Accepted solution

A coworker figured it out for me. You have to copy the Parameter Sets - Visibility Set and add an additional lookup table, etc.

0 Likes
Message 4 of 4

Libbya
Mentor
Mentor

I looked at your block further.  Indeed, a double lookup is needed and that isn't what you have in your block.  There are more issues than that, though.  As mentioned previously, you need unique attribute tags.  You should also lock the attribute positions.  See screencast for a step-by-step.

0 Likes