Use this to combine two groups into one, with duplicates automatically removed. For example, merging the usage types from two scenarios into a single master list.
Set vs. List: a List (array) keeps items in order and can hold duplicates. You access items by position, like "the 3rd item." A Set has no order and no duplicates. Adding an item that's already there does nothing, and there's no "position" to ask for. Sets are for asking "is this here?" and for comparing groups of things; Lists are for ordered, step-by-step sequences.
Category: Sets
Kind: Operation
Description: find the union of two sets
Inputs
Name | Abbreviation | Type | Access | Description |
set1 | S1 | Set | Item | the first set |
set2 | S2 | Set | Item | the second set |
Outputs
Name | Abbreviation | Type | Access | Description |
union | U | Set | Item | the union of the two sets |
How to
Add the Union Sets node.
Feed in two sets.
The output is a new set containing every item from both, with duplicates removed.