✅ Boolean Input:
The ArchAi3D_Boolean_Input node is designed to facilitate the integration of boolean inputs within web interfaces, particularly for workflows that require dynamic HTML form generation. This node allows you to define a boolean input with a customizable name, which serves as an identifier in web interfaces. This feature is particularly beneficial for AI artists and developers who need to create interactive and user-friendly web applications that can dynamically adjust based on user inputs. By providing a straightforward mechanism to handle boolean values, this node simplifies the process of integrating user inputs into larger workflows, enhancing the flexibility and interactivity of web-based AI art applications.
✅ Boolean Input Input Parameters:
name
The name parameter is a string that serves as an identifier for the boolean input within web interfaces. It is crucial for generating dynamic HTML form elements that correspond to this input. The default value for this parameter is "bool_input", and it is not multiline, meaning it should be a single line of text. This parameter allows you to specify a unique name for the input, which can be used to reference it in web applications, ensuring that the input is correctly linked to the corresponding form element.
value
The value parameter is a boolean that represents the actual value to be output by the node. It can be either True or False, with the default value set to False. This parameter determines the boolean state that will be passed through the node, making it a critical component for workflows that rely on conditional logic or require binary decision-making processes.
✅ Boolean Input Output Parameters:
BOOLEAN
The output parameter, BOOLEAN, is the boolean value that is passed through the node. This output reflects the state of the value input parameter and is used in subsequent nodes or processes that require a boolean input. The importance of this output lies in its ability to influence the flow of a workflow based on conditional logic, enabling dynamic and responsive behavior in AI art applications.
✅ Boolean Input Usage Tips:
- Use the
nameparameter to create meaningful identifiers for your boolean inputs, which can help in organizing and managing multiple inputs within complex workflows. - Ensure that the
valueparameter is set according to the desired initial state of your boolean input, as this will affect the behavior of subsequent nodes that rely on this input.
✅ Boolean Input Common Errors and Solutions:
Invalid name format
- Explanation: The
nameparameter must be a single line of text and should not contain special characters that are not allowed in HTML form element identifiers. - Solution: Ensure that the
nameparameter is a valid string without special characters and is not multiline.
Incorrect boolean value
- Explanation: The
valueparameter must be a boolean (TrueorFalse). Providing a non-boolean value can cause errors in the workflow. - Solution: Verify that the
valueparameter is set to eitherTrueorFalsebefore executing the node.
