BOM, Sorting

Hi All

Does anyone have some advice for me with regards to sorting of BOM's

Typically I have a property on each part that categorizes it , i.e custom property is "part type" with a couple of different options like machined, bought out and sheet metal.

When I create the assembly drawing I want to insert the BOM and then be able to sort the BOM so that it groups all the machined part together and all the bought out parts together and all the sheet metal part together.

The cherry on top would be to also add a heading above each group.

Any ideas regarding this would be helpful. or if someone has developed an API to automate this.

Regards

Rob

SolidworksBill Of Materials