Search is based on keyword.
Ex: "Procedures"
Do not search with natural language
Ex: "How do I write a new procedure?"
VariableSwitch
This is a specialized Switch node that selects an input based on the value of a Graph State Variable.
Connection Type |
Connection Name |
Function |
Input |
Add numbered input ports (i0, i1, i2) by pressing in the node. |
The input ports you want to set for different parts of the node graph. |
Control (UI) |
Default Value |
Function |
variableName |
var1 |
The name of the Graph State Variable used to select an input port. |
patterns |
N/A |
A set of patterns linked to input ports, used to select an input port according to the value of the Graph State Variable. Patterns may be added and deleted using the wrench dropdown menu for the group and existing patterns, respectively. Input ports for which no pattern is defined match their exact port name. A pattern takes the form of a CEL statement, where the {@[name]=="value"} syntax may be used to specify requirements of additional Graph State Variables. |
Note: If a VariableSwitch node defines no patterns, input select is performed using a faster look-up operation. This may be useful for nodes with a large number of input ports.
Sorry you didn't find this helpful
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
If you can't find what you're looking for or you have a workflow question, please try Foundry Support.
If you have any thoughts on how we can improve our learning content, please email the Documentation team using the button below.
Thanks for taking time to give us feedback.