After I used the SPLIT TREE component, there is a list with odd index is null, another one is a list with even index is null. I want to do some calculation on the odd index one, and merge odd and even together to have a entire data tree.
#QUESTION 1
How to avoid doing operation with the null index?
Like here, I don’t want to have a calculation with the null index.
This is a particular problem with Addition component, as it will ignore a null input. Arguably this is not the correct behaviour. You can put a x+1 expression into a number parameter to get what you’re after, or use an Expression object if you don’t mind the red error colour: nullapproach.gh (34.0 KB)