ComfyUI > Nodes > ComfyUI 1hewNodes > Multi Switch Select

ComfyUI Node: Multi Switch Select

Class Name

1hew_MultiSwitchSelect

Category
1hewNodes/logic
Author
1hew (Account age: 1113days)
Extension
ComfyUI 1hewNodes
Latest Updated
2026-04-17
Github Stars
0.03K

How to Install ComfyUI 1hewNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI 1hewNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 1hewNodes 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

Multi Switch Select Description

Selects one input from multiple options based on index for efficient data routing.

Multi Switch Select:

The 1hew_MultiSwitchSelect node is designed to facilitate the selection of one input from multiple available options based on a specified index. This node is particularly useful in scenarios where you need to dynamically choose between several inputs, allowing for flexible and efficient data routing within your workflow. By providing a mechanism to select from up to ten different inputs, this node enhances the versatility of your logic operations, enabling you to streamline processes and reduce complexity. Its primary function is to output the selected input while ensuring that only the necessary data is processed, which can be beneficial in optimizing performance and resource usage.

Multi Switch Select Input Parameters:

select

The select parameter determines which input will be chosen for output. It is an integer value that ranges from 1 to 10, with a default value of 1. This parameter is crucial as it directly influences which input is activated and passed through the node. By adjusting this parameter, you can dynamically control the flow of data, making it a powerful tool for managing complex workflows.

input_1

The input_1 parameter is the first of potentially ten inputs that can be selected. It is optional and can be set to lazy, meaning it will only be evaluated if selected. This input, like the others, can accept any data type, providing flexibility in the types of data you can manage within your workflow.

input_2 to input_10

These parameters (input_2 to input_10) function similarly to input_1, serving as additional options for selection. Each is optional and can be set to lazy, allowing for efficient data handling by only processing the selected input. These inputs expand the node's capability to handle multiple data streams, making it adaptable to various scenarios.

Multi Switch Select Output Parameters:

output_1 to output_10

The outputs (output_1 to output_10) correspond to the inputs, with only one being active at any given time based on the select parameter. The selected output will carry the data from the chosen input, while the others will remain inactive (i.e., None). This design ensures that the node efficiently routes data without unnecessary processing, which is essential for maintaining optimal performance in complex workflows.

Multi Switch Select Usage Tips:

  • Use the select parameter to dynamically control which input is active, allowing for flexible data routing in your workflow.
  • Set inputs to lazy if they involve computationally expensive operations, ensuring that only the necessary data is processed, which can improve performance.
  • Consider using this node in conjunction with other logic nodes to create complex decision-making processes within your AI art projects.

Multi Switch Select Common Errors and Solutions:

Input not connected

  • Explanation: This error occurs when the selected input is not connected to any data source.
  • Solution: Ensure that the input corresponding to the select parameter is properly connected to a valid data source.

Invalid select value

  • Explanation: This error arises when the select parameter is set to a value outside the valid range of 1 to 10.
  • Solution: Adjust the select parameter to be within the valid range to ensure proper operation of the node.

Multi Switch Select Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI 1hewNodes
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.

Multi Switch Select