Question
Relations help......
HI All,
MATERIAL = "WOOD"
MATERIAL_SPEC = "RED OAK"
FINISH_CODE = "89"
ENDIF
if PART_NUMBER =="*-67-89-*"
MATERIAL = "WOOD"
MATERIAL_SPEC = "RED OAK"
FINISH_CODE = "89"
ENDIF
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.
This should be simple but I’m having issues, I'm attempting to write the relation shown directly below which works fine when this exact P/N is used. The issue is..... I wantthe first five characters (12345) and the last two (00)to be a wildcards so anywherethe relation see's "-67-89-" it'll complete the other parameters automatically.
if PART_NUMBER =="12345-67-89-00"MATERIAL = "WOOD"
MATERIAL_SPEC = "RED OAK"
FINISH_CODE = "89"
ENDIF
I've attempted to use asterisksfor wildcards (as below)… this doesn’t work…. Any help would be appreciated!
if PART_NUMBER =="*-67-89-*"
MATERIAL = "WOOD"
MATERIAL_SPEC = "RED OAK"
FINISH_CODE = "89"
ENDIF
Thanks,
Doug
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.

