Home Search

DriveWorks Pro 22
Exclude Component from BOM

Send Feedback

Exclude Component from BOM - SOLIDWORKS PowerPack

The Exclude Component from BOM Generation Task will set a SOLIDWORKS component's exclude from bill of materials to either TRUE or FALSE.

The component that is being controlled will need to be in the assembly this task is applied to. If it is within a sub-assembly the component won't be selected. To control a component that is within a sub-assembly, the task will need to be applied to that sub-assembly.


Property NameDescription
(Name)The unique name for this task.
Component NameThe name of the component in the assembly.
Exclude from BOMTRUE to exclude fro BOM, FALSE to include.
InstancesThe instances to control. Leave blank for all instances or pipebar(|) delimit the instance numbers, for example "1|3|5"


When this task is added the properties are dynamic by default.

See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Property NameExample RuleExample ResultMeaning
Component Name"Part2 "&DWSpecificationIdPart2 9999The Name of the component in the assembly
Exclude from BOMTRUETRUETRUE will exclude the part from the BOM. False will include the part.
Instances22The instances to control. Leaving this blank will carry out the task for all instances. For Numerous specific instances using a pipebar (|) delimited list 1|4|9 .
When putting the component name into the Generation Task it is important to make sure the name matches (If there are spaces they must be included otherwise the task will not work).

Generation Sequence

This Task can be added to SOLIDWORKS Assemblies in the following Generation Sequence(s):

  • Pre Drive (will be run before the Main Drive Sequence)
  • Post Drive (will be run after the Main Drive Sequence)