Itoo Software Forum

Author Topic: help with an expression  (Read 758 times)

IT1371

  • Full Member
  • ***
  • Posts: 187
help with an expression
« 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?

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: help with an expression
« Reply #1 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

Rokas