Back to Adaptive Vision Studio website

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

CreateArray


Creates an array from up to 8 individual objects.

Name Type Description
inValue1 <T>* First input value
inValue2 <T>* Second input value
inValue3 <T>* Third input value
inValue4 <T>* Fourth input value
inValue5 <T>* Fifth input value
inValue6 <T>* Sixth input value
inValue7 <T>* Seventh input value
inValue8 <T>* Eighth input 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

inValue1 = 1
inValue2 = 2
inValue3 = 4
outArray = {1,2,4}

Complexity Level

This filter is available on Basic Complexity Level.

See Also

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