is it possibility exclude a part from the BOM?
Not from hand - Automatically?
You might be able to record a macro that will do it in 1 click.....but other than that, I am with Glenn Schroeder on this one.
Is this what you are looking for? Right click on the part or assembly in the model tree and select "Properties". You can do this when inserting the part or any time later.
If you're wanting some setting in a Part file that would automatically exclude that Part from any BOM in any Assembly, I'm not aware of any way to do that, and I'm pretty sure there isn't one.
Hello, and many thanks for the answers.
I would like to make it automatic.
However, this does not go yet.
why would you put it there if you don't want it to show up in the BOM?
can you just not put the part in the model??
I sometimes create semi-fixed assemblies of some parts, usually hinges or locks, because this assembly uses different configurations of the same part; for example male & female leafs for a hinge, I will exclude the female configuration from all boms as shown above. This gives me the correct amount of parts per assembly in my BOM.
I would be great for SW to be able to allow a sub-assembly such to have its own 'part level' quantity.
I'm not a big fan of the "macro" token response or people saying "why would you want to do this".
I also wish there was an option for this or a property that could be added to the part similar to "IsFastener = 1" which allows parts to be treated as fasteners in an interference detection. As for why I want this... I want to have a standard component that I can insert into an assembly that is automatically excluded from the BOM. now more specifically I have items(parts) that have text properties in them and need to be on a table aka BOM some items(parts) in the assembly don't have these properties and I don't need them to be shown on the BOM. I can change the text in the properties from the BOM in the drawing without having to in to the parts or assemblies.
With that said I have found that it's true there is no why to do this easily... but if you create an assembly and insert the part you want to excluded from the BOM into it you can set that part within this assembly to "Excluded from BOM" then you can set the assembly configuration property "Child component display when used as a subassembly:" radio button to "Show" or "Promote" (Depending on how you want to use the BOM) . What this will do is it will force the subassembly to show/promote all the parts in the BOM since they are all set to "Excluded..." they don't show up and neither does the assembly (see below)
the down side is that for every part you have you need an assembly to do this.
@Markus Wiedmann If you haven't given up on this idea you might consider this as an option.
Check this thread out:
SOLIDWORKS envelope vs. exclude from BOM | CATI Tech Notes
This is late for this discussion but I thought I would point out the function that I found in the API to exclude assembly components from the BOM.
Dim status As Boolean
Dim swAssembly As SldWorks.AssemblyDoc
status = swAssembly.CompConfigProperties5(Suppresion As Long, Solving As Long, Visibility As Boolean, UseNamedRefConfig As Boolean, ExcludeFromBOM As Boolean, IsEnvelope As Boolean) As Boolean
Hope this helps!
Retrieving data ...