From the course: Dynamo 2.x Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using lists of numbers as inputs

Using lists of numbers as inputs

From the course: Dynamo 2.x Essential Training

Start my 1-month free trial

Using lists of numbers as inputs

- [Instructor] Now that we've looked at a few different ways to produce a list of numbers, let's see what happens when we plug those lists of numbers into a few of the function nodes that we looked at earlier in the course. To tidy up my workspace I'm going to click and drag the range node below sequence. Let's begin with the addition node which we can find in the math, operator section of the node library. Let's go ahead and plug in our list of numbers into our x input and we'll also need to drop in the new number input node for the y input. We'll find that under input, basic. Let's set this number to say number eight. I'll plug it into our y input and now let's take a look at the list of data coming out of the addition node. You can see here that we have another list of numbers. The list is the same length as that coming out of the sequence node. It's a total of 10 numbers. If you compare index zero of both of these lists, we'll see that the number five is coming out of sequence and…

Contents