OpenBIMRL | List functions
Class path: collection.list.insertElements
Insert element

Description
Inserts an element into a list specifying the index before which is inserted.
Input
| Input | Name | Type | Description |
|---|---|---|---|
| 0 | List | List<Object> | List into which is inserted |
| 1 | Elements | List<Object> | element to be inserted |
| 2 | Indices | List<Number> | Index before which is inserted |
Output
| Output | Name | Type | Description |
|---|---|---|---|
| 0 | New list | List<Object> | modified list |
Use/Example
Sample file
Download of a sample file so that the user can test the usage himself