Set a parameter by true or false

please guys i need help
how to set a two different values for a parameter related to element by when i have true or false list ??

@Omar_Tolba

try 0 and 1

1 Like

In a code block.

input==true?
value1:
value2;

Then you will have to connect the two values and list of True/False booleans to this code block.

Lastly, connect the output of the code block to the ElementSetParameter.ByName node, which will have your Elements list and the name of the Parameter to be set also connected.

2 Likes