Last updated on
Jul 13, 2023
Collection
In: Substance model graphs > Scene management
Description
The Collection node lets you assemble all elements under the root of multiple input scene under the root of a common scene. It is useful for building collections that elements can be picked from in Distribution nodes, for instance.
You can select a rule for solving name conflicts that can arise when assembling different scenes into one.
This node is similar to the Merge node, but does not let you place the assembled elements under a common group under the scene root.
Parameters
- Source 0 Scene
The first input scene holding original, 'existing' elements which should be assembled. - Source 1 Scene
The second input scene holding elements which should be assembled. - Source 2 Scene
The third input scene holding elements which should be assembled. - Source 3 Scene
The fourth input scene holding elements which should be assembled. - Source 4 Scene
The fifth input scene holding elements which should be assembled. - On name conflicts Integer (selects an Enum index)
The rule for solving name conflicts that occur when elements with the same name yet from different scenes are assembled in a common scene. Note that elements from the highest scene in the list (e.g. 0 is higher than 2) are considered the original, 'existing' ones.
The following rules are available:- Rename: Elements other than the existing ones are automatically renamed by appending a numbered suffix;
- Replace: The existing elements are replaced by the conflicting ones;
- Keep existing: The existing elements are kept, the conflicting ones are dismissed.
Example Images