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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Any conditional function in expression field ?

Michael_Dezet
6-Contributor

Any conditional function in expression field ?

Am I able to get any conditional function to this expression field ?

 

 

Michael_Dezet_0-1671004890995.png

 

ACCEPTED SOLUTION

Accepted Solutions

Yes. What kind of functions are you interested in using there?

This works:

if (inputParam =="aaa") result=2;
else result=4;

There are some limitations related to the objects and functions you can use in an expression. If it's useful, look here.

View solution in original post

2 REPLIES 2

Yes. What kind of functions are you interested in using there?

This works:

if (inputParam =="aaa") result=2;
else result=4;

There are some limitations related to the objects and functions you can use in an expression. If it's useful, look here.

"if" works excellent.
Thank You.

Announcements


Top Tags