List
Nodes for working with lists. Lists are collections of objects (numbers, lines, Revit elements, other lists) that have a simple or complex structure.
Last updated
Nodes for working with lists. Lists are collections of objects (numbers, lines, Revit elements, other lists) that have a simple or complex structure.
Last updated
The purpose of this node is to create unique combinations of elements. The node accepts a list of elements as an input. And also a number specifying the length of the sublist of each individual combination. For each element of the list, a combination with all other elements is created. If you set the replace
port value to true
, then combinations with the original element will be created too.
The different order of elements in one combination does not make it unique. In the example above we don't see two combinations["A", "B"]
and ["B", "A"
] at the output. This node produces only one of them. If you need the order of elements to be taken into consideration, use List.Permutations
node.
List of elements for creating combinations from them
For each facade you have to choose 3 not-repeatable colors. You need to understand how many unique color combinations can be made from the proposed list. Which element the color is applied to is not important.
Data Type and Structure
Direction
Default Value
var[]..[]
In
Data Type and Structure
Direction
Default Value
int
In
Data Type and Structure
Direction
Default Value
bool
In
false
Data Type and Structure
Direction
Default Value
var[]..[]
Out