Hide Table of Contents
SetConfigurationParams Method (IConfigurationManager)

Sets the parameters for this configuration.

.NET Syntax

Visual Basic (Declaration) 
Function SetConfigurationParams( _
   ByVal ConfigName As System.String, _
   ByRef ParamNames As System.Object, _
   ByRef ParamValues As System.Object _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IConfigurationManager
Dim ConfigName As System.String
Dim ParamNames As System.Object
Dim ParamValues As System.Object
Dim value As System.Boolean
 
value = instance.SetConfigurationParams(ConfigName, ParamNames, ParamValues)
C# 
System.bool SetConfigurationParams( 
   System.string ConfigName,
   ref System.object ParamNames,
   ref System.object ParamValues
)
C++/CLI 
System.bool SetConfigurationParams( 
&   System.String^ ConfigName,
&   System.Object^% ParamNames,
&   System.Object^% ParamValues
) 

Parameters

ConfigName
Name of the configuration (see Remarks)
ParamNames
Array of the names of the parameters for ConfigName (see Remarks)
ParamValues
Array of values for the parameters for ConfigName (see Remarks)

Return Value

True if the names and values of parameters for the specified configuration are set, false if not

Remarks

In ConfigName, if you specify the name of a configuration that:

  • does not exist, this method creates a new configuration with ParamNames and ParamValues.
  • exists, this method sets that configuration with ParamNames and ParamValues.

You can control these parameters in a part document:

  • Dimension values. Specify the dimension name in ParamNames for example, D1@Sketch1) and the value in ParamValues (for example, 60.0mm).
  • Suppression state of features. Specify the feature name in ParamNames (for example, $STATE@Extrude2) and the suppression state in ParamValues (S=Suppressed or R=Resolved).
 

See Also

Availability

SOLIDWORKS 2004 SP3, Revision Number 12.3


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:   SetConfigurationParams Method (IConfigurationManager)
*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) 2024 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.