ComfyUI > Nodes > ComfyUI-RvTools_v2 > SEGS Switch

ComfyUI Node: SEGS Switch

Class Name

SEGS 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

SEGS Switch Description

SEGS Switch node enables dynamic selection between two SEGS inputs based on conditions.

SEGS Switch [RvTools]:

The SEGS Switch [RvTools] node is designed to facilitate the selection between two SEGS inputs based on a specified condition. This node acts as a decision-making tool within a node-based workflow, allowing you to dynamically choose between two different SEGS data streams. By providing a simple yet effective mechanism to switch between inputs, it enhances the flexibility and adaptability of your workflow, enabling you to tailor the processing path according to specific requirements or conditions. This capability is particularly beneficial in scenarios where different SEGS inputs need to be processed under varying conditions, ensuring that the most appropriate data stream is utilized at any given time.

SEGS Switch [RvTools] Input Parameters:

Input

The Input parameter is an integer that determines which SEGS input will be selected for output. It functions as a switch, where the value of 1 selects input1 and the value of 2 selects input2. This parameter is crucial as it directly influences the node's execution path and the resulting output. The Input parameter has a default value of 1, with a minimum value of 1 and a maximum value of 2, ensuring that only valid selections are made between the two available inputs.

input1

The input1 parameter is an optional SEGS input that can be selected based on the Input parameter's value. When Input is set to 1, input1 is chosen as the output. This parameter is marked with forceInput: True, indicating that it must be provided if it is to be used. The presence of this parameter allows for the inclusion of a specific SEGS data stream in the decision-making process.

input2

The input2 parameter is another optional SEGS input that can be selected based on the Input parameter's value. When Input is set to 2, input2 is chosen as the output. Similar to input1, this parameter is also marked with forceInput: True, requiring its provision if it is to be utilized. This parameter provides an alternative SEGS data stream, offering flexibility in the selection process.

SEGS Switch [RvTools] Output Parameters:

SEGS

The output parameter is a SEGS data stream that results from the selection made by the Input parameter. This output is crucial as it represents the chosen SEGS input, either input1 or input2, based on the specified condition. The SEGS output is integral to the workflow, as it determines the subsequent processing path and ensures that the appropriate data stream is utilized for further operations.

SEGS Switch [RvTools] Usage Tips:

  • Ensure that both input1 and input2 are provided if you plan to switch between them dynamically. This will prevent any execution errors due to missing inputs.
  • Use the Input parameter to control the flow of your workflow dynamically. By adjusting this parameter, you can easily switch between different SEGS data streams based on your specific needs or conditions.

SEGS Switch [RvTools] Common Errors and Solutions:

MissingInputError

  • Explanation: This error occurs when one or both of the required SEGS inputs (input1 or input2) are not provided, despite being marked as forceInput: True.
  • Solution: Ensure that both input1 and input2 are supplied when configuring the node. Double-check your connections to confirm that the necessary inputs are correctly linked.

InvalidInputValueError

  • Explanation: This error arises when the Input parameter is set to a value outside the allowed range of 1 to 2.
  • Solution: Verify that the Input parameter is set to either 1 or 2. Adjust the parameter value to fall within the valid range to resolve this issue.

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

SEGS Switch