I am using the eschema for something a bit different, wiring diagrams and the connector BOM. So I have put fields into each connector symbol number for the various pins used and this is filled in with the number of pins that connector has. So when I export my BOM I have a column for each pin type and any connector that uses that pin will will have the quantity in that column. But, this means that if I then total that column I will not get the total number of the pins in that design, just the total number of pins taking one of each connector because if say one connector is used 5 times and has 10 pins I will only have 10 listed not 50.
Is there a way to multiply any of the values from the fields by the line number so that each line has the total number of pins for that part type? I could then add up the columns to get the total across the design.
I know this is unorthodox but it would be nice to get it to work. I have made an attempt at changing the python script but KiCad just hangs when I try to run it so I have upset something.