Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Desert-Pixel-Nodes > DP Condition Switch

ComfyUI Node: DP Condition Switch

Class Name

DP Condition Switch

Category
DP/conditioning
Author
DesertPixelAi (Account age: 840days)
Extension
ComfyUI-Desert-Pixel-Nodes
Latest Updated
2025-06-22
Github Stars
0.03K

How to Install ComfyUI-Desert-Pixel-Nodes

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

DP Condition Switch Description

Facilitates dynamic switching between positive and negative condition pairs in AI art projects.

DP Condition Switch:

The DP Condition Switch node is designed to facilitate the dynamic selection and switching between different pairs of conditions, specifically positive and negative conditions. This node is particularly useful in scenarios where you need to alternate between multiple sets of conditions based on specific criteria or inputs. By providing a mechanism to choose from predefined condition pairs, it allows for flexible and efficient condition management within your AI art projects. The primary goal of this node is to streamline the process of condition selection, ensuring that the appropriate conditions are applied without manual intervention, thus enhancing the workflow and reducing the potential for errors.

DP Condition Switch Input Parameters:

selected_pair

The selected_pair parameter allows you to choose from a list of predefined condition pairs, namely "Conditions 01", "Conditions 02", "Conditions 03", "Conditions 04", and "Conditions 05". This selection determines which pair of conditions will be active and used in the node's processing. The impact of this parameter is significant as it directly influences the output conditions that are applied. There are no minimum or maximum values for this parameter, as it is a categorical selection from the provided options.

condition_positive_01

This optional parameter represents the positive condition for the first pair of conditions. It is used when "Conditions 01" is selected as the selected_pair. The presence of this parameter ensures that a specific positive condition is applied when the first condition pair is active.

condition_negative_01

This optional parameter represents the negative condition for the first pair of conditions. It is used in conjunction with condition_positive_01 when "Conditions 01" is selected. It ensures that a specific negative condition is applied alongside the positive condition.

condition_positive_02

This optional parameter represents the positive condition for the second pair of conditions. It is relevant when "Conditions 02" is selected as the selected_pair.

condition_negative_02

This optional parameter represents the negative condition for the second pair of conditions. It is used alongside condition_positive_02 when "Conditions 02" is selected.

condition_positive_03

This optional parameter represents the positive condition for the third pair of conditions. It is applicable when "Conditions 03" is selected as the selected_pair.

condition_negative_03

This optional parameter represents the negative condition for the third pair of conditions. It is used with condition_positive_03 when "Conditions 03" is selected.

condition_positive_04

This optional parameter represents the positive condition for the fourth pair of conditions. It is relevant when "Conditions 04" is selected as the selected_pair.

condition_negative_04

This optional parameter represents the negative condition for the fourth pair of conditions. It is used alongside condition_positive_04 when "Conditions 04" is selected.

condition_positive_05

This optional parameter represents the positive condition for the fifth pair of conditions. It is applicable when "Conditions 05" is selected as the selected_pair.

condition_negative_05

This optional parameter represents the negative condition for the fifth pair of conditions. It is used with condition_positive_05 when "Conditions 05" is selected.

DP Condition Switch Output Parameters:

condition_positive

The condition_positive output parameter provides the selected positive condition based on the chosen selected_pair. This output is crucial as it determines the positive aspect of the conditions applied in your project, influencing the resulting AI art generation.

condition_negative

The condition_negative output parameter provides the selected negative condition corresponding to the chosen selected_pair. This output is equally important as it defines the negative aspect of the conditions applied, complementing the positive condition and affecting the overall outcome.

DP Condition Switch Usage Tips:

  • Ensure that the conditions you wish to use are properly connected to the node to avoid warnings and ensure smooth operation.
  • Use the selected_pair parameter to quickly switch between different condition sets, allowing for rapid experimentation and iteration in your projects.

DP Condition Switch Common Errors and Solutions:

Warning: Selected Conditions 0X has unconnected conditions!

  • Explanation: This warning indicates that the selected condition pair has one or both conditions unconnected, which means the node cannot retrieve the necessary conditions for processing.
  • Solution: Check the connections for the selected condition pair and ensure that both the positive and negative conditions are properly linked to the node.

DP Condition Switch Related Nodes

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

DP Condition Switch