Edit Parts List

I am creating a script that will model a pipe network from an excel spreadsheet.
Does anyone know of a node that can edit the parts list to include any missing sizes from excel.
At the moment the script only works if i manually edit the parts list to include all of the sizes required.

Thanks in advance for any assistance

of the best attachment
An example of what you want
Maybe you want to be on the next page

PartsList Members