Multiple "IFs" in one expression
Multiple "IFs" in one expression
(OP)
Hey All,
I am trying to figure out how/if to use multiple IFs within one IF-THEN-ELSE expression
Something along these lines:
IF(P1=A)(1.5);(P1=B)(2.5);(P1=C)(3.5)
I am not sure if this is possible and if it is I am having some trouble with the syntax(yes, i understand that the syntax above is incorrect)
I am looking to leverage this into some PTS functionality.
Any help would be great!
Thanks!
I am trying to figure out how/if to use multiple IFs within one IF-THEN-ELSE expression
Something along these lines:
IF(P1=A)(1.5);(P1=B)(2.5);(P1=C)(3.5)
I am not sure if this is possible and if it is I am having some trouble with the syntax(yes, i understand that the syntax above is incorrect)
I am looking to leverage this into some PTS functionality.
Any help would be great!
Thanks!





RE: Multiple "IFs" in one expression
The syntax for a multiple IF expression is as follows:
if(P1=="A")(3.9)else if(P1=="B")(2.5)else if(P1=="C")(1.1)else(4)
RE: Multiple "IFs" in one expression
RE: Multiple "IFs" in one expression
http://www.eng-tips.com/viewthread.cfm?qid=309597
RE: Multiple "IFs" in one expression
The syntax I showed above works just as I wanted.
RE: Multiple "IFs" in one expression
http://community.plm.automation.siemens.com/t5/NX-...
Steve
NX 8.5.3.3