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) |
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