Hide Table of Contents
CreateContactSet2 Method (ICWContactManager)

Creates a contact set.

.NET Syntax

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

Parameters

NContactSetType

Type of contact set for:

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 both global and component contact definitions. Component contact definitions override global contact definitions.

See the SOLIDWORKS Simulation Help for guidelines about studies with contact conditions.

 

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