hi to all,
i have a simple problem but cant find a way to solve it…
i have a boolean mask and a list of four elements, the boolean mask indicate whether the object is contained or not in the room (eg. List 2 (true true ture false) contains objects 1 2 3 but not 4.
problem is that whe i use the if node i dont see the values of the elements but i se una single value repeted…i think its a lacing problem but cant find the solution.
thanks to all
It would help to see your false
input as well, but you need to match the list structure with list levels.
The If node defaults to assuming all the inputs have matching list structures. It then tries to apply an appropriate mapping if structures don’t match. In this case, it’s mapping sublist 2 of test
to index 2 of true
/false
. Try setting all inputs to @L2
.
1 Like
cant make it work…the input for faulse value is “number=0”
Having a different list structure for each input is going to make things very difficult. You can try setting the false input to @L1
, but I doubt that works. I highly recommend making your list structures match. That would mean duplicating values or restructuring the test
list. It would probably be easiest to Transpose
your list and deal with each value separately.
Is it possible for you to share your data for the false input?