RemoveFromArrayNode

 

Introduced

7.0

UI Location

• Array

Description

Outputs and removes the element at the specified index in the input array.

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

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

index

Type: siICENodeDataLong

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The index of the element to remove from the input (0-based) array. If the index is greater than or equal to the size of the input array, no element will be removed.

array

Type: siICENodeDataValue or siICENodeDataLocation

Structure: siICENodeStructureArray

Context: siICENodeContextAny

The array containing the element to remove.

Outputs

Port Name

Connection Info

Description

value

Type: siICENodeDataValue or siICENodeDataLocation

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The removed element. If the specified index is greater than or equal to the size of the input array, the default value of the node's type is returned instead.

result

Type: siICENodeDataValue or siICENodeDataLocation

Structure: siICENodeStructureArray

Context: siICENodeContextAny

The modified array.

Restrictions

• These types must match: array, value, result

• These structures must match: index, value

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

See Also

InsertInArrayNode

PopFromArrayNode

PushOnArrayNode

SelectInArrayNode

SetInArrayNode

Accessing Data from Array Nodes

 

 



Autodesk Softimage v7.5