MultiSwitch Index of Max/Min

Post requests for new features to this forum group. Any suggestion to expand the possibilities of Ventuz are welcome.

Moderator: Support

Post Reply
User avatar
Naggar
Posts: 150
Joined: 22 Dec 2016, 14:02
Location: Dubai, United Arab Emirates

MultiSwitch Index of Max/Min

Post by Naggar » 25 Mar 2021, 12:11

Hi,
For Multi switch node when using Floats/Ints, Would it be possible to output the the Index of the output as well?

Say you have a multi switch with 5 inputs

2, 4, 12, 8, 9

If Max mode is selected, there would be two outputs: (Value: 12, Index:2)
If Min mode is selected, there would be two outputs: (Value: 2, Index:0)
and i suppose if two inputs are the same it could give the first index with that value

Post Reply