14.01.2022, 13:44
Something like this should do.
TAG all input objects and select and create event script from this TAG
TAG all input objects and select and create event script from this TAG
Code:
select = grp.getvalue('1/1/1')
input1 = grp.getvalue('1/1/2')
input2 = grp.getvalue('1/1/3')
input3 = grp.getvalue('1/1/4')
outgrp = '1/1/5'
if select == 1 then
grp.checkwrite(outgrp, input1)
elseif select == 2 then
grp.checkwrite(outgrp, input2)
elseif select == 3 then
grp.checkwrite(outgrp, input3)
end
------------------------------
Ctrl+F5
Ctrl+F5