SolidWorks automatically populates a Bill of Materials (BOM) with item numbers, quantities, part numbers, and custom properties in assembly drawings. You can anchor, move, edit, and split a BOM.
When you insert balloons into a drawing, the item numbers and quantities in the balloons correspond to the numbers in the Bill of Materials. If an assembly has more than one configuration, you can list quantities of components for all configurations or selected configurations.

