Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all articles
Browse latest Browse all 39529

(C#) how to selectItem in ValueList without expire Solution

$
0
0

@mingo1214 wrote:

Hi all,
I am having a trouble of setting Valuelist's selectItem without expire the downstream components. I just want all downstream components wait until I set Document.NewSolution(false). Just like number slider.

In following screenshot case, from my component, I set ValueList A from 1 to 3, and B from 1 to 4.
I want process 1 (blue) or process 2 (red) happen in one solution. otherwise, Concat will compute twice (see recorded data)

Is there any way to override ValueList.SelectItem, or should I lock it first, and set selectItem, and do something, then unlock?

Thanks in advance.

Posts: 7

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 39529

Trending Articles