You are on page 1of 1

Lists are very important and helpful in Dynamo because they can help you perform tasks quickly by

providing multiple inputs. There are many situations where lists are created when you select multiple
elements in Revit. But there are also several ways to create lists. Take a look at a simple
example. In this exercise file, there are four Number nodes containing the numbers 2, 4, 6, and 8. In
the node Library, expand Core > List. There are three Create nodes under List: List.Create, Range,
and Sequence. Add a List.Create node to the workspace.The List.Create node is flexible and
creates a list based on the inputs. Initially, it has a single input, which is item0. There are also plus
(+) and minus () buttons to add and remove inputs, respectively. This is what makes this node
flexible and easy to work with. Add three more inputs so that there is a total of four inputs. Next,
connect the outputs from the Number nodes to the item inputs of the List.Create node. With the
graph running automatically, the list is created once everything is connected. You can hover the
cursor over the List.Create node to display a tooltip showing that the output is a List containing {4}
items. You can move the cursor over the tooltip and a More button with a pushpin appears. Hover
the cursor over the More button to see the list. You can click the button and the list will remain visible
when you move the cursor away. Be aware that you can use the List.Create node to create a list
with almost anything. When creating geometry, you can create lists of points or lines. Or, when
selecting elements in Revit, you can use List.Create to create lists of elements.

You might also like