Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: IT1371 on September 18, 2018, 10:54:00 AM
-
I have this simple expression in an Arithmetic operator:
if(input1>input2,1,0);
Ideally I would just attach it to the on/off parameter of a generator or a segment, but it is not supported.
Is there a way around this? I can't use a Conditional operator..
-
Although it gives You error:
(https://i.imgur.com/EJZNMQG.png)
It lets You do what You want. I have used it in similar situations without problems too.
Don't forget to add return constructor in front of Your expression.
-
Turns out it didn't work in the first place because I did not put the "return". I thought I can start with an "if"..
Thank you! ;D