Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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"I've attempted to use asterisksfor wildcards (as below)… this doesn’t work…. Any help would be appreciated!
Thanks,
Doug
Hi All,
Several people suggested thesame method (below) and it works fine! Thanks to all!Doug
if search( PART_NUMBER, "-67-89-") > 0
MATERIAL = "WOOD"
MATERIAL_SPEC = "RED OAK"
FINISH_CODE = "89"
endif