Hey Everyone!
I was wondering if anyone else has experience glitches within Dynamo in regards to IF Statements. Look at the image below… I am so confused (Yes False = Empty List), but the Condition shows true…
Hey Everyone!
I was wondering if anyone else has experience glitches within Dynamo in regards to IF Statements. Look at the image below… I am so confused (Yes False = Empty List), but the Condition shows true…
Try searching for similar questions. This has been covered many many times before. The IF node requires equal list structure.
exactly, to avoid problems with the IF node, or you use an imperative function in a code block, or you use a python code like
if IN[0]:
OUT = IN[1]
else:
OUT = IN[2]
where IN[0] correspond the “test”, IN[1] the “true” and IN[2] the “false” of the IF OOTB node