Hide Table of Contents
CompConfigProperties6 Method (IAssemblyDoc)

Sets the properties for the selected component in the specified configuration.

.NET Syntax

Visual Basic (Declaration) 
Function CompConfigProperties6( _
   ByVal Suppression As System.Integer, _
   ByVal Solving As System.Integer, _
   ByVal Visibility As System.Boolean, _
   ByVal UseNamedRefConfig As System.Boolean, _
   ByVal RefConfigName As System.String, _
   ByVal ExcludeFromBOM As System.Boolean, _
   ByVal IsEnvelope As System.Boolean, _
   ByVal SaveAssemblyAsPartOption As System.Integer _
) As System.Boolean
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)
C# 
System.bool CompConfigProperties6( 
   System.int Suppression,
   System.int Solving,
   System.bool Visibility,
   System.bool UseNamedRefConfig,
   System.string RefConfigName,
   System.bool ExcludeFromBOM,
   System.bool IsEnvelope,
   System.int SaveAssemblyAsPartOption
)
C++/CLI 
System.bool CompConfigProperties6( 
&   System.int Suppression,
&   System.int Solving,
&   System.bool Visibility,
&   System.bool UseNamedRefConfig,
&   System.String^ RefConfigName,
&   System.bool ExcludeFromBOM,
&   System.bool IsEnvelope,
&   System.int 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

You can use configurations to save certain display characteristics with each of the assembly components and retrieve that configuration in the future. SOLIDWORKS applies the settings that you specify with this method to the active configuration.

You cannot set the selected component to lightweight using this method.

Known reasons for failure of this method include:

  • Invalid suppression state specified in Suppression.
  • Not pre-selecting the component.
 

See Also

Availability

SOLIDWORKS 2019 FCS, Revision Number 27.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   CompConfigProperties6 Method (IAssemblyDoc)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2019 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.