Problem with Iterating different parameters by using only 1 iterator

#1

I am designing an automated simulation definition with 3 parameters (Type, A and B). I cannot split the simulations as this is for optimization.
image

There are 2 choices for the parameter “Type”. The range of A when Type 0 or 1 is chosen is different. Is there any way to do it? I have tried to use stream filter but it doesn’t recognize the input of Gate. Thank you.

Test (automation).gh (7.1 KB)

#2

Did you try this?

#3

@Ivanita
The parameter “Type” and parameters “A” can be combined. From my understanding, “A0” list and “A1” list are the same parameter, but associate with “Type” param. When picking values from “Type”, you are only going to iterate either “A0” or “A1”. Values in “A0” are not affecting how you selecting the value from “A1”, so you can combing “A0” and “A1” into one list, and labeled with its type values.

Please let me know if this works for you.
-Mingbo

IteratorParams.gh (30.5 KB)

1 Like
#4

Thanks @MingboPeng. I just tried and it works.

Ivan