Python Script Begineer_Component Creation

You don’t have to program a Python script.
If you use a Process node, you can use a WaitSignal to wait on a signal, with the “WaitTrigger” active, but without any condition and store the variable with the property “ValueOutputVariableName”.
When the signal is triggered, you can use an If-loop in which you check the ValueOutputVariableName in the condition (or switch-loop if you are not using a boolean signal and can have more than 2 outputs) and then either Create a block, or a a cylinder according to the value.

2 Likes