OpenBIMRL | List functions
Class path: collection.list.replaceElements
Replace elements
Description
Replaces elements in a list with other elements by specifying their indices.
Input
Input | Name | Type | Description |
---|---|---|---|
0 | List | List<Object> | List to be modified |
1 | Items | List<Object> | Elements that will be inserted into the list |
2 | Indices | List<Number> | Indices of the elements in the list that will be replaced |
Output
Output | Name | Type | Description |
---|---|---|---|
0 | New list | List<Object> | Results list |
Use/Example
Sample file
Download of a sample file so that the user can test the usage himself