W

WhileNode

Introduced

7.0

UI Location

• Execution

Description

Repeat the input tree while the condition is true. Before each iteration the condition port is evaluated. If the condition is true, the input graph is then executed. Otherwise the iteration stops.

You can also specify a limit to the number of iterations in the Max Repeat port in order to avoid repeating the iterations indefinitely when the condition is always true.

Port Description

Inputs

Group ID | Instance s | Port Name | Connection Info | Description
Execution | 1 | condition | • Type: siICENodeDataBool • Structure: siICENodeStructureSingle • Context: siICENodeContextAny | The input tree executes while the value of this port is true.
maxrepeat | • Type: siICENodeDataLong • Structure: siICENodeStructureSingle • Context: siICENodeContextSingleton | The maximum number of iterations in order to avoid infinite loops.
port | • Type: siICENodeDataExecute • Structure: siICENodeStructureSingle • Context: siICENodeContextAny | The tree connected in this port is executed repeatedly.

Outputs

Port Name | Connection Info | Description
execute | • Type: siICENodeDataExecute • Structure: siICENodeStructureSingle • Context: siICENodeContextAny | Output port to connect to execute the node.

See Also

ExecuteNode | FilterNode | FirstValidNode | IfNode
PassThroughNode | RepeatNode | SelectCaseNode |

Autodesk Softimage v7.5