Sets whether to exclude this component from the bills of materials (BOMs) in the specified configurations.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetExcludeFromBOM2( _
ByVal Exclude As System.Boolean, _
ByVal Config_opt As System.Integer, _
ByVal Config_names As System.Object _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IComponent2
Dim Exclude As System.Boolean
Dim Config_opt As System.Integer
Dim Config_names As System.Object
Dim value As System.Integer
value = instance.SetExcludeFromBOM2(Exclude, Config_opt, Config_names) |
Parameters
- Exclude
- True to exclude it, false to not
- Config_opt
- Configuration option as defined in swInConfigurationOpts_e
- Config_names
- Array of the names of configurations for which to set Exclude; null or Nothing if Config_opt is set to swInConfigurationOpts.swAllConfiguration or swInConfigurationOpts.swThisConfiguration
Return Value
Return code as defined in
swExcludeFromBOMError_e
Remarks
See Also
Availability
SOLIDWORKS 2019 FCS, Revision Number 27.0