See Above
EDITED BY MODERATOR: Moved to Bill of Materials space. Please post in the appropriate space when one exists. The API/Macros space is for if you are using the SOLIDWORKS API (Application Programmers Interface) or using/writing macros.
SolidworksBill Of Materials