Hide Table of Contents
ISetParameters Method (IConfiguration)

Sets the parameters (suppression state of features, suppression state or visibility of components, dimensions, and so on) for this configuration.

.NET Syntax

Visual Basic (Declaration) 
Sub ISetParameters( _
   ByVal NParamCount As Integer, _
   ByRef Params As String, _
   ByRef Values As String _
) 
Visual Basic (Usage) 
Dim instance As IConfiguration
Dim NParamCount As Integer
Dim Params As String
Dim Values As String
 
instance.ISetParameters(NParamCount, Params, Values)
C# 
void ISetParameters( 
   int NParamCount,
   ref string Params,
   ref string Values
)
C++/CLI 
void ISetParameters( 
&   int NParamCount,
&   String^% Params,
&   String^% Values
) 

Parameters

NParamCount
Number of parameters
Params
  • in-process, unmanaged C++: Pointer to an array of the names of the parameters of size NParamCount
  • VBA, VB.NET, C#, and C++/CLI: Not supported
  • See In-process Methods for details about this type of method.

    Values
    • in-process, unmanaged C++: Pointe to an array of the values for the parameters of size NParamCount
  • VBA, VB.NET, C#, and C++/CLI: Not supported
  • See In-process Methods for details about this type of method.

    Remarks

    To get the number of parameters to set for this configuration, call IConfiguration::GetParameterCount.

    You can control these parameters in a part document:

    • Dimension values. Specify the dimension name in params for example, D1@Sketch1) and the value in values (for example, 60.0mm).
    • Suppression state of features. Specify the feature name in params (for example, $STATE@Extrude2) and the suppression state in values (S=suppressed or U=Unsuppressed).
     

    See Also

    Availability

    SolidWorks 2005 FCS, Revision Number 13.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:   ISetParameters Method (IConfiguration)
    *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.