Hide/Scale objects based on lookup.

Hide/Scale objects based on lookup.

Umbragloom
Explorer Explorer
345 Views
2 Replies
Message 1 of 3

Hide/Scale objects based on lookup.

Umbragloom
Explorer
Explorer

I have a block that I would like to have specified wire labels that can be chosen and shown based on the amount of inputs/outputs the user requires. 

 

For example. 

 

Say our end user requires 5 inputs and 6 outputs. I would like to have the unneeded inputs and outputs be hidden and only show the items that are required. 

 

Umbragloom_1-1683722052516.png

 

I already have two lookup tables that I'd like to utilize. 

 

Lookup 1 would control the inputs and lookup 2 would control the outputs. if five inputs were selected it would hide the wiring line, and all associated text for the inputs tied to I5,I6, & I7, but this is where I came into a problem. I tried doing this with a visibility state,  I had set up 16 visibilities to test and had lookup1 only reverence visibilities of the input wires/label, and the outputs referencing the visibility states of the outputs. but as I assumed if I changed the visibility states on Lookup2 the state of lookup 1 would be lost/overwritten. 

 

Then i realized I would need ALOT of visibility states to achieve what I'm looking for.

 

Is there an easier solution that I'm missing? 

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

h_s_walker
Mentor
Mentor
Accepted solution

A quick crude way of doing it using scale actions. See the attached drawing

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Message 3 of 3

Umbragloom
Explorer
Explorer

@h_s_walker Thanks, that will suffice for what I'm tryin to implement.

0 Likes