cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Multiple if conditions for only one equation

JR_9175191
10-Marble

Multiple if conditions for only one equation

JR_9175191_0-1707606796261.png

 

Is there any way to simplify this?

 

ACCEPTED SOLUTION

Accepted Solutions

7 REPLIES 7

I've since seen that I have errors in the Nut function but please point out any that you may see.

 

Thank you!

JR_9175191_0-1707611046617.png

 

Revised

 

JR_9175191_0-1707620037758.png

 

Hi,

Capture.JPG

Eliminated the comparison operator as its something more for my eyes to see and left the equation that solved one part.

LucMeekes
23-Emerald III
(To:JR_9175191)

You can use an OR operator, you find it in the operators panel of the ribbon, there's also an AND operator:

LucMeekes_1-1707648702937.png

Here are some examples:

LucMeekes_2-1707649130250.png

Success!
Luc

 

Utilized the and operator to simplify the function program. That solved the other part of the problem.

Announcements

Top Tags