Back to Aurora Vision Studio website
	
                
                    
	
		
	You are here: Start » Filter Reference » Array » Array Basics » GetMultipleArrayElements
| Module: | FoundationLite | 
|---|
Extracts multiple elements from an array.
| Name | Type | Description | |
|---|---|---|---|
![]()  | 
				inArray | <T>Array | Input array | 
![]()  | 
				inIndices | IntegerArray | Indices within the array | 
![]()  | 
				inInverse | Bool | Determines if the indices are counted from beginning or from end of the input array | 
![]()  | 
				outValues | <T>Array | Output values | 
The type of this filter is defined using the type variable T which represents any valid type. Read more.
Hints
- When you need only one array element, use GetArrayElement instead.
 - When you need a continuous subsequence of array elements, use CropArray.
 
Examples
![]()  | 
![]()  | 
| 
inArray = {100, 430, 35, 250, 55, 130} inIndices = {2, 4, 3, 3}  | 
outValues = {35, 55, 250, 250} | 
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
| Error type | Description | 
|---|---|
| DomainError | Index out of range in GetMultipleArrayElements. | 
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- GetArrayElement – Extracts a single element from an array at the specified index.
 
- GetArrayElements – Extracts up to 8 individual elements from an array.
 
- CropArray – Selects a continuous subsequence of array elements.
 

 Advanced
