Creos way of letting me write relations like code is very powerful and very easy to use and understand (especially erros) even if you have just a rudimentary programming knowledge. Very useful for assemblies, say the number of batteries in a pack varies with the diameter.
Example 1:
If ( main_d < 50 ) {
nbrOfBatteries = 3;
}
Else if ( main_d < 70 && main_d > 50 ) {
nbrOfBatteries = 5
}
Example 2:
If (d1 < 10 || d1 > 20) {
d2 = 14;
}
else {
d2 = 20
}