Subsystem Loop

This function block allows for iterative processing over a sequence of values. It is designed to efficiently handle looping through lists and executing connected subsystems.

📥 Inputs

This function block does not require any direct inputs, but it can utilize data from connected sources to process.

📤 Outputs

This block does not produce direct outputs, as it is primarily for managing how data flows through other connected blocks over iterations.

🎨 Features

Iterative Processing The block can loop through each element of a list, allowing for multiple iterations based on the length of the input sequences.

Subsystem Management Automatically handles the execution of its child scene nodes and manages the flow of data effectively.

📝 Usage Instructions

  1. Connect Input Sequences: While this block does not have explicit input sockets, connect sequences from other function blocks that you wish to loop over.

  2. Run the Block: Trigger the execution of this block to iterate through each element in the connected sequences.

  3. Monitor Outputs: Keep an eye on performance and results in connected function blocks after iterations.

📊 Evaluation

When run, this function block will loop through each element of the sequences it detects and execute accordingly, allowing for batch processing of data.

💡 Tips and Tricks

Efficiently Managing Large Data

If you're processing large datasets, consider using batch-processing strategies with Batch Processing to reduce memory consumption.

Combining with Other Blocks

Combining this block with function blocks like Batch Concatenation or Get Batch Size can help you manage how data flows before reaching your subsystems effectively.

🛠️ Troubleshooting

Data Not Iterating Properly

Ensure that the inputs are properly connected and that they all contain sequences of the same length, otherwise iteration behavior may be unpredictable.

Running into Invalid States

If any of the nodes in the connected subsystem are marked invalid, address those issues first. Any failure in nodes will prevent this block from executing correctly.

Last updated