Creo relations - 'OR' function
Hello there.
Is there an 'OR' function or something similar in creo relations (i'm using creo elements/pro)
I have the following string of code, which is what i would like it to look like
IF C_GEARBOX_CD_DIM == 125 OR 150
XD_GEARBOX = 215
ENDIF
this links the user inputted 'CD' and drives the 'XD'
However, there are many figures for 'CD' that would all provide the same 'XD'
I am trying to get around having to write an if statement for each and every 'CD' (there are 72!!)
Is there a function to allow me to have multiple inputs for an 'IF' function, as my attempt above returned an error as 'OR' doesnt exist
Thanks
Jonathan
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

