Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: IT1371 on February 11, 2020, 12:27:40 PM

Title: help with an expression
Post by: IT1371 on February 11, 2020, 12:27:40 PM
I need help building a rather simple condition, I just don't know the rules of writing one.
Basically
if input1>input2 - don't generate geometry in that segment.
if input1<input2 - do generate geometry in that segment.

can someone help me put?
Title: Re: help with an expression
Post by: Rokas on February 11, 2020, 03:16:26 PM
Quote
return if(Input1<Input2,1,2);
This should be wired to selector Node, which has Input1 as Your segment and Input2 as empty segment

(https://i.imgur.com/P5L1rt9.png)