Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
I'm trying to set up relations that automatically generate a material stock code, based on the combination of two other parameters that governmaterial type and thickness. Everything works fine for thicknesses that are listed, but I'm wanting the stock code to display "-" if a thickness is used that doesn't exist in the listing, and it's not working; the stock code doesn't change. The below is a partial listing. Anyone know how to make this work?
IF RAW_MAT_SPEC == "RAW PLATE-44W" & THICK == '2_1/2'
RAW_MAT_STOCK_CODE = "202-015"
ELSE
IF RAW_MAT_SPEC == "RAW PLATE-44W" & THICK == '3'
RAW_MAT_STOCK_CODE = "202-016"
ELSE
IF RAW_MAT_SPEC == "RAW PLATE-44W" & THICK == '3_1/2'
RAW_MAT_STOCK_CODE = "202-017"
ELSE
RAW_MAT_STOCK_CODE = "-"
ENDIF
ENDIF
ENDIF
Thanks in advance,
Dave Tate
Peerless Trailers, Penticton, BC