Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates conditional switching between two PLY inputs based on boolean value for dynamic selection in workflows.
The CR Ply Input Switch JK node is designed to facilitate conditional switching between two different PLY (Polygon File Format) inputs based on a boolean value. This node is particularly useful in scenarios where you need to dynamically select between two PLY inputs during the execution of a workflow, depending on a specific condition. By leveraging this node, you can streamline your workflow and ensure that the appropriate PLY input is used based on the given boolean condition, enhancing the flexibility and efficiency of your AI art projects.
The boolean_value
parameter is a boolean input that determines which PLY input will be selected. If set to True
, the node will select the ply_true
input; if set to False
, it will select the ply_false
input. This parameter is crucial for controlling the conditional logic of the node. The default value is False
.
The ply_false
parameter is the PLY input that will be selected when the boolean_value
is set to False
. This input is mandatory and must be provided for the node to function correctly. It represents the fallback or default PLY input in the conditional logic.
The ply_true
parameter is the PLY input that will be selected when the boolean_value
is set to True
. This input is also mandatory and must be provided for the node to function correctly. It represents the alternative PLY input in the conditional logic.
The GS_PLY
output is the selected PLY input based on the boolean_value
parameter. If boolean_value
is True
, this output will be the ply_true
input; if boolean_value
is False
, it will be the ply_false
input. This output is essential for passing the correct PLY data to subsequent nodes in your workflow.
The BOOLEAN
output is the same as the boolean_value
input parameter. It is provided as an output to allow for further conditional logic or debugging in your workflow. This output helps in tracking the condition that was used to select the PLY input.
boolean_value
parameter to dynamically switch between different PLY inputs based on specific conditions in your workflow.ply_false
and ply_true
inputs are provided to avoid errors and ensure the node functions correctly.BOOLEAN
output to create more complex conditional logic by chaining multiple logic switch nodes.ply_false
input is not provided.ply_false
parameter.ply_true
input is not provided.ply_true
parameter.boolean_value
is not a valid boolean.boolean_value
parameter is set to either True
or False
.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.