We really need to see the data you’re using in order to know where your issue is.
Either way, this sounds like the common list length issue with If statements. This has been asked and answered dozens of times already. Please search for similar topics before posting your question. These topics should be able to get you started.
I have a pretty large dynamo script I’ve been working on for a couple of months. I’m stuck with an issue where an IF Node is only passing the first item on the list being fed to FALSE.
I have 8 different lists compiling to my ‘Write to EXCEL’, and recent changes is causing me headaches!
I also need the row written horizontally, which seems to be giving me another layer of issues.
I don’t want to use any custom nodes at this point, there’s none in the entire script, and I see no reason the O…
Hello,
I am trying to use the “if” node to get a text if the list is empty (true), and the list itself if not (boolean false). When i try the node with a not empty list, it works well, but with an empty list, it just keeps giving me “Empty list”, even if the boolean is true.
Can you help me with this issue ?
[if node issue]
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
2 Likes