ComfyUI > Nodes > ComfyUI-RvTools_v2 > Basic Pipe Switch

ComfyUI Node: Basic Pipe Switch

Class Name

Basic 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

Basic Pipe Switch Description

The Basic Pipe Switch node enables dynamic selection between two data streams in workflows.

Basic Pipe Switch [RvTools]:

The Basic Pipe Switch [RvTools] is a versatile node designed to facilitate the selection between two different data streams, referred to as "pipes," within a workflow. This node is particularly useful when you need to dynamically choose between two processing paths based on specific conditions or inputs. By providing a simple yet effective mechanism to switch between two options, it enhances the flexibility and adaptability of your workflow, allowing for more complex and conditional data processing scenarios. The node's primary function is to evaluate an integer input and, based on its value, direct the flow of data through one of the two available paths. This capability is essential for creating dynamic and responsive workflows that can adjust to varying conditions or requirements.

Basic Pipe Switch [RvTools] Input Parameters:

Input

The Input parameter is an integer that determines which of the two available data streams will be selected. It accepts values of either 1 or 2, with a default value of 1. When set to 1, the node will select the first input stream (input1), and when set to 2, it will select the second input stream (input2). This parameter is crucial as it directly influences the node's behavior and the resulting data flow, allowing you to control which path the data should take based on your specific needs or conditions.

input1

The input1 parameter is an optional input that represents the first data stream or "pipe" that can be selected by the node. It is of type BASIC_PIPE and is required to be provided if you intend to use it as a selectable option. This parameter allows you to define the first potential path for data processing, which will be chosen if the Input parameter is set to 1.

input2

The input2 parameter is an optional input that represents the second data stream or "pipe" that can be selected by the node. Similar to input1, it is of type BASIC_PIPE and must be provided if you wish to use it as a selectable option. This parameter defines the second potential path for data processing, which will be chosen if the Input parameter is set to 2.

Basic Pipe Switch [RvTools] Output Parameters:

BASIC_PIPE

The BASIC_PIPE output is the result of the node's execution, representing the selected data stream based on the Input parameter. This output is crucial as it determines the path that the data will follow in the subsequent steps of your workflow. By providing a clear and direct output, the node ensures that the chosen data stream is seamlessly integrated into the rest of your processing pipeline, allowing for efficient and effective data management.

Basic Pipe Switch [RvTools] Usage Tips:

  • Ensure that both input1 and input2 are properly configured and connected to valid data streams before executing the node to avoid unexpected results.
  • Use the Input parameter to dynamically control the data flow in your workflow, allowing for conditional processing based on external factors or user input.

Basic Pipe Switch [RvTools] Common Errors and Solutions:

Missing Input: Multi Pipe Switch has no active Input

  • Explanation: This error occurs when neither input1 nor input2 is provided, leaving the node without a valid data stream to select.
  • Solution: Ensure that at least one of the optional inputs (input1 or input2) is connected to a valid data stream before executing the node.

Basic 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.