Hide Table of Contents
CompConfigProperties4 Method (IAssemblyDoc)

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

.NET Syntax

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

Parameters

Suppression
Suppression state of this component as defined in swComponentSuppressionState_e
Solving
Solving state of this component as defined in swComponentSolvingOption_e
Visibility
True if you want to show the selected component in the graphics display 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

Return Value

True if setting the properties of the selected component in the specified configuration
is successful, false if not

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 a component to lightweight.

Known reasons for failure of this method include:

  • Invalid suppression state specified.
  • Not preselecting a component.
 

See Also

Availability

SOLIDWORKS 2005 FCS, Revision Number 13


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:   CompConfigProperties4 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) 2015 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.