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.
|(Name)||The unique name for this task.|
|Component Name||The name of the component in the assembly.|
|Exclude from BOM||TRUE to exclude fro BOM, FALSE to include.|
|Instances||The 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 Name||Example Rule||Example Result||Meaning|
|Component Name||"Part2 "&DWSpecificationId||Part2 9999||The Name of the component in the assembly|
|Exclude from BOM||TRUE||TRUE||TRUE will exclude the part from the BOM. False will include the part.|
|Instances||2||2||The 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 .|
This Task can be added to SOLIDWORKS Assemblies in the following Generation Sequence(s):