SOLIDWORKS PDM – Custom BOM Quantity

Article by GoEngineer on Oct 26, 2019

The value of the quantities in SOLIDWORKS PDM computed BOMs are determined by the reference count of the file.  For some files, you may need to show an amount or some non-integer value rather than a reference count.  This document describes the steps to set this up and have PDM computed BOMs display a value from a SOLIDWORKS Custom Property for the quantity rather than the reference count of the file.

SOLIDWORKS PDM Setup

We first need a variable that is setup to read the quantity value specified in the  SOLIDWORKS file.

1. Create a new variable in your PDM vault. Set the “Variable type” to “Decimal number”.  Set the Block name to “CustomProperty” and the attribute name to “UNIT_OF_MEASURE”.  Set the file extension for the variable to “sldprt”.

solidworks pdm setup

2. Add the variable to the data card for the files that need to show the custom quantity value.

solidworks pdm data card

SOLIDWORKS Setup

We will now specify the custom quantity value in the custom properties of the SOLIDWORKS file.  These steps will be repeated for each file that needs to show a custom value for it’s quantity in a BOM.

1. Make sure the file is checked out in your PDM vault.
2. Create a custom property named “UnitOfMeasure” and set its value to the desired quantity.
3. Set the “BOM quantity“ to this “UnitOfMeasure” custom property.
4. Check the file back into your PDM vault.

custom properties solidworks file

View Results

Now that both PDM and the SOLIDWORKS file is configured properly, we can now see the custom quantity value on both the file’s data card and in the computed BOM for any assembly or drawing the file is used in.

Data Card

data card view results

Computed BOM

solidworks pdm computed BOM
 

About GoEngineer

GoEngineer delivers software, technology and expertise that enable companies to unlock design innovation and deliver better products faster. With more than 35 years' experience and tens of thousands of customers in high tech, medical, machine design, energy and other industries, GoEngineer provides best-in-class design solutions from SOLIDWORKS CAD, Stratasys 3D printing, Creaform & Artec 3D scanning, CAMWorks, PLM, and more

View all posts by GoEngineer