Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all articles
Browse latest Browse all 39529

Sum or add depending of true or false

$
0
0

@nachop wrote:

Hello

I have list of values por example 1 1 1 1 1 1 1 1 1 1
and i also have a list of true false : true true true false true true true true true true
and the index : 0 1 2 3 4 5 6 7 8 9
the index 3 is a false
is t possible for example just add a number, for example 5 only to the false or true?
The list would be like this : 6 6 6 1 6 6 6 6 6 6

Thanks a lot

Posts: 6

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 39529

Trending Articles