FindInArrayNode

 

Introduced

7.0

UI Location

• Array

Description

Outputs the results of searching the input array for the specified value.

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

value

Type: siICENodeDataValue or siICENodeDataLocation

Structure: siICENodeStructureSingle

Context: siICENodeContextAny

The value to find.

array

Type: siICENodeDataValue or siICENodeDataLocation

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The array to search.

epsilon

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The precision used for comparison during the search.

Outputs

Port Name

Connection Info

Description

found

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextAny

True if the specified value was found in the array; false otherwise.

index

Type: siICENodeDataLong

Structure: siICENodeStructureSingle

Context: siICENodeContextAny

The index of the first occurrence of the specified value, if found, in the (0-based) array.

indexarray

Type: siICENodeDataLong

Structure: siICENodeStructureArray

Context: siICENodeContextAny

The 0-based indices of all occurrences of the specified value, if found, in the input array.

Restrictions

• These types must match: value, array

• These contexts must match: value, array, found, index, indexarray

See Also

SortArrayNode

SortArrayWithKeyNode

Accessing Data from Array Nodes



Autodesk Softimage v7.5