That doesn't seem to be working either. This is a test assembly that I created for ease of testing.
Test Part 1 (with quantity override):
Test Part 2: (just a cylinder, no overrides in the properties)
Test Assy (qty shows up correctly on BOM):
Test Assy in PDM (each BOM quantity column represents a different configuration setting. Both reference count options are also included):
Hi Rachel, I just tried to replicate your steps and I seem to get the correct quantity. See my screenshots below:
Property of my part
BOM in my assembly:
Added the assembly and part to PDM, checked in, and this is what I get in the Bill of Materials tab:
You can see the correct quantity is given under Quantity. Here's how my BOM column set is set up:
What version of SolidWorks and PDM are you using? I'm using 2016 SP2.
Well...turns out all these are the correct answers. ha! We have some sort of weird issue going on that's making it not work, so we're working with Solidworks to resolve. Thanks!
Thanks Rachel, please let us know how it turns out, whether there is an SPR etc.
I did exactly as you described but still have the same problem as Rachel. We are using 2016.
In your example the custom property type is 'Text' and 'Evaluated value' is 0.5. So why does 0.500 show up in the PDM BOM? It reads the text value as a number?
In your example, is a PDM variable involved/required as suggested by Ville?
Does the Quantity need to be included in the file card for this to work?
I tried <Reference Count> and <Reference Count (BOM....>, and lots more things but can't get anything except the file instance count to appear in the PDM BOM.
Hi James Rhys-Davies, did you get a resolution from Solidworks?
Hi James Rhys-Davies ,I am setting up our PDM vault for our company and hitting the same problem as you were. We are also aiming to have our data ready for automatic XML-export without doing hand editing to exported data. I even updated from 2016 SP3 to SP4 hoping this issue would be resolved.
Did you find your issue with custom quantity or did you get it working after all?
We are using alot of wiring, glues, sealants etc. which need to be quantified with decimals. My idea is to have library parts with alot of configurations made with design table to have diffrent quantity amounts to choose from. These parts would have their geometry hidden, so the parts would not be visible but their quantity and weights could be read by SolidWorks/PDM and after the export, our ERP-system.
I tried the exact steps Prasad Bhonsule posted but still I can not get the custom quantity to work in PDM BOMs. SolidWorks BOM works without issues. I would like to avoid resorting to named boms if possible, more hassle and room for error when updating.
Thanks in advance to everyone trying to help.
EDIT: I found the culprit! The variable which the PDM stores the custom quantity information needs to be named BOM Quantity and mapped to UNIT_OF_MEASURE CustomProperty and not the Custom property name itself which has the actual information inside the SolidWorks file. I had the variable mapped earlier to Quantity named customProperty which was selected in SolidWorks part as Bom quantity custom property.
I found a clue about this from the PDM admin guide at page 132. We are creating our vault from scratch and not using any of the predefine assets where this variable would have been mapped in advance.