Introducing lists and indexes
In this section, we are going to learn everything about lists and indexes. And to do that, we are going to use my favorite snack – chips! So, let's start by implementing a practical example. Let's say that we have a Revit model containing 100 chairs, and those chairs are placed on different levels. Now, let's compare that to chips.
Imagine we take a chip bag and grab one chip. We can do the same with Dynamo, but instead of grabbing, we are selecting one element, a chair, in this case, from the 100 available. Take a look at the following diagram:
As you can see, when we select one chair from the Revit model, we end up with a list containing exactly one element.
Next, instead of selecting only one element, we could select a bunch of them, let's say 20 chairs. The following diagram shows the comparison with chips:
...