CADien
Industrial
- Mar 4, 2008
- 2
In Pro E Wildfire 3.0 is it possible to click - inside the relations - on an icon with fx on.
Then you got a submenu with all the function who are possible in wildfire. If you look closely, you can find a 'mod' function. I thought it was the remainder of a division of one number by another.
I need that function in my automation-program.
What I wanted to do was the following thing:
If (mod(LENGTH/X, 2) == 0
Y = ..
ELSE
Y =...
ENDIF
So in fact, I need to check if the number is odd or even.
Now the problem is, I know the 'mod'-function exist, because i can find it in the list, but i don't know how to implement it.
I guessed it was MOD(NUMBER1,NUMBER2) but cleary this doesn't work, because always, even if the number is even or odd, it skips the if-statement, just like i wrote something that can't be true
Someone who knows this? Because I check your FAQ and those functions are clearly not allowed
Then you got a submenu with all the function who are possible in wildfire. If you look closely, you can find a 'mod' function. I thought it was the remainder of a division of one number by another.
I need that function in my automation-program.
What I wanted to do was the following thing:
If (mod(LENGTH/X, 2) == 0
Y = ..
ELSE
Y =...
ENDIF
So in fact, I need to check if the number is odd or even.
Now the problem is, I know the 'mod'-function exist, because i can find it in the list, but i don't know how to implement it.
I guessed it was MOD(NUMBER1,NUMBER2) but cleary this doesn't work, because always, even if the number is even or odd, it skips the if-statement, just like i wrote something that can't be true
Someone who knows this? Because I check your FAQ and those functions are clearly not allowed