Fail to use bool to extract String

The if node will always use shortest lacing unless you have the newer version which exposes the lacing controls. One item in the true list, no items in the second list, therefore the most you will get is no items. Can be frustrating at first.

Instead you can use a code block like this:

indx = test ? 0 : 1;
returnedValue = [trueVals, falseVals][indx];
1 Like