If node in dynamo seems not working right

The if node doesn´t work that well:

Try this python script:

bool = IN[0]
result_true = IN[1]
result_false = IN[2]
output = result_false
if bool:
    output = result_true
OUT = output
1 Like