Sets the properties for the selected
component in the specified
configuration.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim Suppression As System.Integer
Dim Solving As System.Integer
Dim Visibility As System.Boolean
Dim UseNamedRefConfig As System.Boolean
Dim RefConfigName As System.String
Dim ExcludeFromBOM As System.Boolean
Dim IsEnvelope As System.Boolean
Dim SaveAssemblyAsPartOption As System.Integer
Dim value As System.Boolean
value = instance.CompConfigProperties6(Suppression, Solving, Visibility, UseNamedRefConfig, RefConfigName, ExcludeFromBOM, IsEnvelope, SaveAssemblyAsPartOption) |
Parameters
- Suppression
- Suppression state of the selected component as defined in swComponentSuppressionState_e
- Solving
- Solving state of the selected component as defined in swComponentSolvingOption_e
- Visibility
- True if you want to show the selected component in the graphics area, false if not
- UseNamedRefConfig
- Not used
- RefConfigName
- If a non-empty string is specified, then the referenced configuration of the selected component is changed to this named configuration
- If an empty string is specified, then the default referenced configuration is used
- ExcludeFromBOM
- True to exclude the configuration from the BOM, false to not
- IsEnvelope
- True if the selected component is an envelope, false if not
- SaveAssemblyAsPartOption
- Option for the selected component when saving this assembly as a part as defined in swASMSLDPRTCompPref_e
Return Value
True if setting the properties of the selected component in the specified configuration is successful, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2019 FCS, Revision Number 27.0