Hide Table of Contents
ImportStudyFeatures Method (ICWStudy)

Imports the study features of the specified component's study into this study.

.NET Syntax

Visual Basic (Declaration) 
Function ImportStudyFeatures( _
   ByVal SComponent As System.String, _
   ByVal SStudy As System.String, _
   ByVal SConfig As System.String, _
   ByVal NFilter As System.Integer, _
   ByVal BPropagate As System.Boolean, _
   ByRef ErrorCode As System.Integer _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As ICWStudy
Dim SComponent As System.String
Dim SStudy As System.String
Dim SConfig As System.String
Dim NFilter As System.Integer
Dim BPropagate As System.Boolean
Dim ErrorCode As System.Integer
Dim value As System.Boolean
 
value = instance.ImportStudyFeatures(SComponent, SStudy, SConfig, NFilter, BPropagate, ErrorCode)
C# 
System.bool ImportStudyFeatures( 
   System.string SComponent,
   System.string SStudy,
   System.string SConfig,
   System.int NFilter,
   System.bool BPropagate,
   out System.int ErrorCode
)
C++/CLI 
System.bool ImportStudyFeatures( 
&   System.String^ SComponent,
&   System.String^ SStudy,
&   System.String^ SConfig,
&   System.int NFilter,
&   System.bool BPropagate,
&   [Out] System.int ErrorCode
) 

Parameters

SComponent
Name of the assembly component from whose study to import study features
SStudy
Name of SComponent's study from which to import study features
SConfig
Name of SComponent's configuration
NFilter
Study features to import as defined in swsImportStudyFeaturesFilterType_e
BPropagate

True to propagate imported study features to components in this study that are similar to SComponent, false to not

ErrorCode
Result code as defined in swsImportStudyFeaturesErrorCode_e

Return Value

VARIANT_TRUE (-1) if successful, VARIANT_FALSE (0) if not
 

See Also

Availability

SOLIDWORKS Simulation API 2018 SP0


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:   ImportStudyFeatures Method (ICWStudy)
*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) 2023 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.