Thanks Dragan for the quick reply!
When i tried this out, two things occur.
I used the following expression:
RETURN
if (Input3==1,Input1,
Input3==2,Input2);
In the arithmetic node the first input is a 'constant' with a value of 45, second input is a 'constant' of 0 and the third input a 'numeric' which could be 1 or 2.
When i Evaluate this it says:
Compile error. Wrong number of arguments in function: "if" at line 2:
if (Input3==1,Input1,
^
Second point, if i try to wire this to an input for a segement mapping rotation it gives a warning as seen in the attachment. Because of the compile error it doesn't seem to give any output yet, any idea how to solve this?
Greetings, Jakob