InsertInArrayNode

Introduced

7.0

UI Location

• Array

Description

Outputs a new array with the specified value inserted at the specified index in the input array.

The elements in the input array that are at an index greater than or equal to the specified index will be shifted by +1 in the resulting array.

Port Description

Inputs

Group ID | Instance s | Port Name | Connection Info | Description
0 | 0 | index | • Type: siICENodeDataLong • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The index that the new inserted value will have in the input (0-based) array. Warning: If the index is greater than the size of the input array, the value will not be inserted in the resulting array.
value | • Type: siICENodeDataValue or siICENodeDataLocation • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The value to insert at the specified index in the input array.
array | • Type: siICENodeDataValue or siICENodeDataLocation • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The array to modify.

Outputs

Port Name | Connection Info | Description
result | • Type: siICENodeDataValue or siICENodeDataLocation • Structure: siICENodeStructureArray • Context: siICENodeContextAny | The modified array containing the new value.

Restrictions

• These types must match: value, array, result

• These structures must match: index, value

• These contexts must match: index, value, array, result

See Also

PopFromArrayNode | PushOnArrayNode | RemoveFromArrayNode | SelectInArrayNode
SetInArrayNode | Accessing Data from Array Nodes |  |

Autodesk Softimage v7.5