CATIA "IF" FUNCTION

Hello everyone,

I would need to know if the "SI" function is only usable via the KWA module or if there is another possibility to create a relationship between the build parameters.

here is my problem: IF 'A'<3; 'B'='A' ; 'B'=3

so if the length parameter 'A' is less than 3mm; then the parameter of length 'B' will be equal to 'A'; if the length parameter 'A' is greater than 3mm then the length parameter 'B' will be equal to 3mmer.

Thank you in advance for your interest in my question.

Hello

If you have KWA I wouldn't look elsewhere.

If you don't have it, we can find a workaround by using the state of a Boolean parameter (true, false).

Boolean parameter (formula 'A' < 3mm) returns True when A < 3mm; False when A > or equal to 3MM.

It's still DIY.

Tutorial

1 Like

Thank you for this solution, I'll try right away. (I may come back to this subject)

Hello

no need for KWA to use the laws but there are some restrictions

Here is an example in V5_R21


loi_if.catpart
2 Likes

Hello 

Well seenvince.roullier  +1  I had never tried the keywords in a law only equations for curves.

In addition, it's much easier to insert in optimized copy.

 

1 Like