Hide Table of Contents
CreateContactSet2 Method (ICWContactManager)

Creates a contact set.

.NET Syntax

Visual Basic (Declaration) 
Function CreateContactSet2( _
   ByVal NContactSetType As Integer, _
   ByVal NSelectionType As Integer, _
   ByVal ArraySourceEntities As Object, _
   ByVal ArrayTargetEntities As Object, _
   ByRef ErrorCode As Integer _
) As CWContactSet
Visual Basic (Usage) 
Dim instance As ICWContactManager
Dim NContactSetType As Integer
Dim NSelectionType As Integer
Dim ArraySourceEntities As Object
Dim ArrayTargetEntities As Object
Dim ErrorCode As Integer
Dim value As CWContactSet
 
value = instance.CreateContactSet2(NContactSetType, NSelectionType, ArraySourceEntities, ArrayTargetEntities, ErrorCode)
C# 
CWContactSet CreateContactSet2( 
   int NContactSetType,
   int NSelectionType,
   object ArraySourceEntities,
   object ArrayTargetEntities,
   out int ErrorCode
)
C++/CLI 
CWContactSet^ CreateContactSet2( 
&   int NContactSetType,
&   int NSelectionType,
&   Object^ ArraySourceEntities,
&   Object^ ArrayTargetEntities,
&   [Out] int ErrorCode
) 

Parameters

NContactSetType

Type of contact set for:

 

NOTES:

  • Bonded. Source and target entities are bonded.  

  • Shrink fit. Select faces from two components that are initially interfering with each other.

  • Free (no interaction).  The program treats source and target faces as disjointed. Do not use this option unless you are sure that loads will not cause interference. Plot the deformed shape with a scale factor of 1.0 to check for interference.

  • Virtual wall. Available for static studies only. This contact type defines contact between the source entities and a virtual wall defined by a target plane. The target plane may be rigid or flexible. You can define friction between.

  • Insulated. Available for thermal studies only. This option is similar to the Free (no interaction) option for structural studies.  The program prevents heat flow due to conduction through the source and target entities.

  • Thermal resistance. Available for thermal studies only. This option allows you to specify thermal resistance between source and target faces.

NSelectionType

Type of selection as defined in swsSelectionType_e

ArraySourceEntities
Array of source entities
ArrayTargetEntities
Array of target faces
ErrorCode

Error code as defined in swsContactSetError_e

Return Value

Contact set

Example

Remarks

Contact set definitions override global and component contact definitions. Component contact definitions override global contact definitions.
 

See Also

Availability

SolidWorks Simulation API 2010 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:   CreateContactSet2 Method (ICWContactManager)
*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) 2011 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.