Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Array » Array Basics » CreateArray

CreateArray


Module: FoundationLite

Creates an array from up to 8 individual objects.

Name Type Description
Input value inValue1 <T>* First input value
Input value inValue2 <T>* Second input value
Input value inValue3 <T>* Third input value
Input value inValue4 <T>* Fourth input value
Input value inValue5 <T>* Fifth input value
Input value inValue6 <T>* Sixth input value
Input value inValue7 <T>* Seventh input value
Input value inValue8 <T>* Eighth input value
Output value outArray <T>Array Constructed array

The type of this filter is defined using the type variable T which represents any valid type. Read more.

Hints

  • If you need more than eight elements, use multiple instances of this filter and join the results with JoinArrays.

Examples

Description of usage of this filter can be found in examples and tutorial: Hand-Eye Calibration - On Filters.
inValue1 = 1
inValue2 = 2
inValue3 = 4
outArray = {1,2,4}

Complexity Level

This filter is available on Advanced Complexity Level.

See Also

  • CreateUniformArray – Creates an array of the specified size with all elements initialized to the specified value.