Hide Table of Contents
CreateContactSet Method (ICWContactManager)

Obsolete. Superseded by ICWContactManager::CreateContactSet2.

.NET Syntax

Visual Basic (Declaration) 
Function CreateContactSet( _
   ByVal NContactSetType As System.Integer, _
   ByVal ArraySourceEntities As System.Object, _
   ByVal ArrayTargetEntities As System.Object, _
   ByRef ErrorCode As System.Integer _
) As CWContactSet
Visual Basic (Usage) 
Dim instance As ICWContactManager
Dim NContactSetType As System.Integer
Dim ArraySourceEntities As System.Object
Dim ArrayTargetEntities As System.Object
Dim ErrorCode As System.Integer
Dim value As CWContactSet
 
value = instance.CreateContactSet(NContactSetType, ArraySourceEntities, ArrayTargetEntities, ErrorCode)
C# 
CWContactSet CreateContactSet( 
   System.int NContactSetType,
   System.object ArraySourceEntities,
   System.object ArrayTargetEntities,
   out System.int ErrorCode
)
C++/CLI 
CWContactSet^ CreateContactSet( 
&   System.int NContactSetType,
&   System.Object^ ArraySourceEntities,
&   System.Object^ ArrayTargetEntities,
&   [Out] System.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 notuse 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.

ArraySourceEntities
Array of source entities
ArrayTargetEntities
Array of target faces
ErrorCode

Error code as defined in swsContactSetError_e

Return Value

Contact set

Remarks

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

See Also

Availability

SolidWorks Simulation API 2008 SP1.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:   CreateContactSet 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) 2014 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.