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