ComfyUI > Nodes > ComfyUI-RvTools_v2 > Pipe Switch

ComfyUI Node: Pipe Switch

Class Name

Pipe Switch [RvTools]

Category
🫦 RvTools II/ Switches
Author
r-vage (Account age: 317days)
Extension
ComfyUI-RvTools_v2
Latest Updated
2026-03-27
Github Stars
0.02K

How to Install ComfyUI-RvTools_v2

Install this extension via the ComfyUI Manager by searching for ComfyUI-RvTools_v2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-RvTools_v2 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Pipe Switch Description

The Pipe Switch node enables dynamic selection between two data pipelines based on input conditions.

Pipe Switch [RvTools]:

The Pipe Switch [RvTools] node is designed to facilitate the dynamic selection between two different data pipelines within a workflow. This node acts as a decision-making tool that allows you to choose which pipeline to activate based on a specified input condition. By providing a simple yet effective mechanism to switch between two options, it enhances the flexibility and adaptability of your workflow, enabling you to tailor the data processing path according to specific needs or conditions. This capability is particularly useful in scenarios where different processing routes are required based on varying input parameters or conditions, allowing for more efficient and targeted data handling.

Pipe Switch [RvTools] Input Parameters:

Input

The Input parameter is an integer that determines which pipeline will be activated. It accepts values of either 1 or 2, with a default value of 1. When set to 1, the node will select the first pipeline (pipe1), and when set to 2, it will select the second pipeline (pipe2). This parameter is crucial as it directly influences the node's execution path, allowing you to control which data stream is processed based on your specific requirements.

pipe1

The pipe1 parameter is an optional input that represents the first data pipeline. It is a placeholder for the data stream that will be selected if the Input parameter is set to 1. This parameter allows you to define the first option in your pipeline selection, providing a pathway for data processing that can be activated based on the input condition.

pipe2

The pipe2 parameter is an optional input that represents the second data pipeline. Similar to pipe1, it serves as a placeholder for the data stream that will be selected if the Input parameter is set to 2. This parameter offers an alternative pathway for data processing, enabling you to switch to a different processing route when required.

Pipe Switch [RvTools] Output Parameters:

pipe

The pipe output parameter is the result of the node's execution, representing the selected data pipeline based on the Input parameter. It outputs the data stream from either pipe1 or pipe2, depending on the input condition. This output is crucial as it determines the subsequent data flow in your workflow, ensuring that the appropriate pipeline is activated and processed according to your specified conditions.

Pipe Switch [RvTools] Usage Tips:

  • Use the Input parameter to dynamically control the flow of data in your workflow, allowing for flexible and adaptable processing paths based on specific conditions or requirements.
  • Ensure that both pipe1 and pipe2 are properly configured and contain valid data streams to avoid unexpected results or errors during execution.

Pipe Switch [RvTools] Common Errors and Solutions:

Missing Input: Multi Pipe Switch has no active Input

  • Explanation: This error occurs when neither pipe1 nor pipe2 is provided, or when the Input parameter is set to a value outside the allowed range (1 or 2).
  • Solution: Ensure that at least one of the pipelines (pipe1 or pipe2) is connected and that the Input parameter is set to either 1 or 2 to select the appropriate pipeline.

Pipe Switch Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RvTools_v2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Pipe Switch