EMebane
Joined: Apr 15, 2019 Posts: 124
|
Posted: Apr 20, 2026 2:51 AM Post subject: PropertySetter: specifying output in Switch element |
|
I have a PropertySetter connected to a Switch. The options for setting the target Property are "Int1 with", "Int2 with", etc.
If were to manually configure the Switch element I'd select an item from a dropdown list: "None", "Out1", "Out2", etc.
So to use the PropertySetter, I select which input I want to remap to a different output -- How do I specify this output? Is it done by specifying an array index of the output selections? So I set the PropertySetter's Input type to Scalar and pass a number to its input? So assuming the combo list options for the Switch's output selection is a 0-based array for None I'd pass 0, Out1 : 1, Out2 : 2, etc. |
|
jarek
Joined: Oct 22, 2007 Posts: 1087
|
Posted: Apr 20, 2026 3:40 PM Post subject: |
|
| Yes, you should be able to select by integer index. It should be also possible by setting text "Out1" with Object input, this option might be safer (less likely to make a mistake). |
|