ResizeArrayNode

 

Introduced

7.0

UI Location

• Array

Description

Resizes the input array to the specified size. If the output array is larger than the original input array, you can use the Value port to specify a default value for each new element.

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

size

Type: siICENodeDataLong

Structure: siICENodeStructureSingle

Context: siICENodeContextAny

The new size for the input array. If this value is less than the size of the input array, the specified input array will be truncated.

value

Type: siICENodeDataValue or siICENodeDataLocation

Structure: siICENodeStructureSingle

Context: siICENodeContextAny

The default value for each new element in the resulting array, if applicable (if the new size is greater than the size of the input array).

array

Type: siICENodeDataValue or siICENodeDataLocation

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The array to resize.

Outputs

Port Name

Connection Info

Description

result

Type: siICENodeDataValue or siICENodeDataLocation

Structure: siICENodeStructureArray

Context: siICENodeContextAny

The resized array.

Restrictions

• These types must match: value, array, result

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

See Also

BuildArrayFromConstantNode

BuildArrayNode

GetArraySizeNode

ReserveArrayNode

Accessing Data from Array Nodes

 

 

 



Autodesk Softimage v7.5