Changing attribute based on visual state

Changing attribute based on visual state

Unisolpaneel
Contributor Contributor
311 Views
2 Replies
Message 1 of 3

Changing attribute based on visual state

Unisolpaneel
Contributor
Contributor

Im trying to create a block where the user selects a state using a lookup-dropdown function.

In this block is an attribute that I would like to change value based on the selected state.

(in this example are only 3 states, but there will be more in the end)

Is this possible in any way?

I've looked into using another lookup, but that seems not to be able to change the value of my att based on state.

 

(to be more clear: I want the "test"-attribute visible in all 3 states, but have the value change based on the visual state, IE: 0 in State 1, 15 in State 2 and 30 in state 3. I can't use 3 seperate attributes and have them change visibility; it has to be just 1 attribute)

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

Libbya
Mentor
Mentor
Accepted solution

You can write attribute values directly with a block properties table.  You can also change the visibility state at the same time.  You can also change the visibility using a lookup and change the attribute value using a blockplaceholder field at the same time.  A regen is needed to immediately show the change in the attribute value.  The following screencast shows both methods.  

 

https://knowledge.autodesk.com/community/screencast/46745b94-6a8a-4d6c-8a5a-795d8fadfc39

0 Likes
Message 3 of 3

Unisolpaneel
Contributor
Contributor

This was exactly what I needed! thank you so much.

0 Likes