BOM not showing correct qty of parts in sub-assy

I'm trying to make a master BOM from the top level assy for purchasing to simply be able to see part number, qty's, and cost. But here's my problem, I have a sub-assy of a hinge that has some bushings and some hardware, and that same sub-assy is used multiple times throughout the top level assy. But my BOM is only showing the qty for one of those sub-assy's, what I need is the added qty's for all the same parts throughout all the sub-assy's. I'm using an indented BOM because a parts only doesn't show my purchased parts that are set up as assemblies (e.g. linear rails with the rails and blocks as a sub assy together.)

Any idea what I'd doing wrong?

At first I thought it was the BOM quantity option in the custom properties but they're all set to '-None-'. I also tried setting the "Child component display when used as a subassembly" to "promote" but that didn't work either, that just removed the sub assembly from the BOM but didn't add all the parts inside the sub assy together.

The highlighted qty shown is the qty for only one of my hinge sub assemblies.

I'm running SW2016 SP5.0 on Win. 7

SolidworksDrawings And Detailing
Answers 22
IF
IF 2017-06-14 Best Answer

1.Delete BOM and create new one

2.Check PartNumber properties of all parts and subassies (in conf.properties).They have to be unical.

JS
JS 2017-06-14
<p>Zac Evans wrote:</p><p> I have a sub-assy of a hinge that has some bushings and some hardware, and that same sub-assy is used multiple times throughout the top level assy. But my BOM is only showing the qty for one of those sub-assy's, what I need is the added qty's for all the same parts throughout all the sub-assy's. </p>

So are you only showing the Sub-Assembly in the drawing and selecting that view to populate the BOM?  You need to pull from the Top Assembly to see all the parts.

CM
CM 2017-06-14

What BOM Type are you using?    (Top-level only, Parts only, Indented)

A Parts Only BOM on your top level assembly should add up all quantities of the same part thats used in multiple subassys.

ZE
ZE 2017-06-14

I am choosing the drawing view of the top level assembly in the drawing.

ZE
ZE 2017-06-14

I'm using indented, and I'll explain why I can't use parts only BOM (which does display the correct qty number).

My workflow uses assemblies for things like linear slides that are purchased as a single item but contain multiple parts (I used the example of a  linear slide bearing with the rails and blocks as parts in it's own assembly in the original question), I set all the properties for cost and all that in the assembly file and set all the parts as virtual components (these files are very small so it hardly impacts my file size and load time). I then load these into the top level assembly as flexible so I can properly mate them. But doing a BOM as parts only doesn't see these assembly files that I definitely need.

ZE
ZE 2017-06-14
<p>Igor Fomenko wrote:</p><p></p><p>1.Delete BOM and create new one</p>

I've done this multiple times.

<p></p><p>2.Check PartNumber properties of all parts and subassies (in conf.properties).They have to be unical.</p>

If I understand this correctly, I have all the custom/config. properties all using the same templates.

IF
IF 2017-06-14

I`m about PartNumber property which is not in part (file) properties but in configuration property (in feature tree,configurations tab).SW use PartNumber property to generate BOM

AM
AM 2017-06-14

I have a similar situation with our parts.
I think that this may help answer some questions:

MP
MP 2017-06-14

One alternative that may work would be to save all those bought assemblies as parts, then use a parts only BOM.  I think I've been where you are and that was the conclusion I ended up with.  I'm not saying it was the right conclusion, just the one I came up with.  And, you may have some reasons why that may not work for you.

IF
IF 2017-06-14

Change your flexible sub assies to rigid only for experiment.Flexible assy doesn`t have special flexible configuration.This may be reason

MP
MP 2017-06-14

I just saw your further explanation, which clarifies your situation.  My above post won't work for you.

Somebody is probably going to slap me down for suggesting this (rightfully so), but I'll post it anyway... In each assembly assign 1 part to be the "part" and then hide all the other parts from the BOM.  Then you can use parts only and accomplish what you are trying to do. < /awful advice>

ZE
ZE 2017-06-14

And that would effect BOM Qty's?

ZE
ZE 2017-06-14

That did it! I'm amazed every day by how many things are hidden in plain sight with solidworks, I've never even noticed those 3 arrows before! Thank you very much for your help with this one, it was quite frustrating since if I couldn't get it I would have to change my workflow.

AR
AR 2017-06-14

a few years ago i found a macro by  @Deepak Gupta that works great on any Assembly. Still use it with 2017

will pick up all Qty. in active Configs from Subs at the Top Assy.

I am surprised that when I try to mention Deepak I get a list of Ten and he is not on it. when typing to whole Name it automatically inserts the @ but does not appear to actually mention.

comment imagecomment image
MP
MP 2017-06-14

It's still a dirty method.  I wish there was a better method than dissolving subassemblies in the BOM.  If I remember correctly you have to do that for each subassembly in each BOM you create.  This should be handled automatically.

Nobody has slapped my answer down below.  I would have thought this would have a more robust solution by now...I'm still on 2014.

IF
IF 2017-06-14

If you use the same PartNumber for two different parts in your assy you`ll get wrong Qty.

MP
MP 2017-06-14

​,

​ shows up for me.  Type in _ between his first and last name and it'll show, @Deepak_Gupta. You had me scared for a second there.  I don't know what we'd do without Deepak.

AR
AR 2017-06-14

i will try right now to mention ​, and yes that works.

Thanks .

DG
DG 2017-06-15

Andreas​, thanks for mentioning but I've not made this macro and not able to recall who made this. But it is a great macro

AR
AR 2017-06-15

The Video shows your Name, did you just create the Video for it?

DG
DG 2017-06-15

Yes as some was having issues with the macro. So added a video to show it's working

IF
IF 2017-06-20

Also,be ready to see zero mass for subwelment in BOM and cut-list properies))