Hi Barrycasey11,
I just now noticed, that in your PCF file, the SPEC in MATERIALS is not listed as 'PIPING-SPEC', but it's 'SPEC'.
Please try changing the condition to "If ( IsNumeric(val) and matstr <> "SPEC" on line # 630.
Let me know if it would work now.
Regards,
Justinas