Hide Table of Contents
FindNonTouchingPairs Method (ICWContactManager)

Finds non-touching faces within the specified minimum and maximum distance in the specified bodies or components.

.NET Syntax

Visual Basic (Declaration) 
Function FindNonTouchingPairs( _
   ByVal VarCompBodies As System.Object, _
   ByVal DMin As System.Double, _
   ByVal DMax As System.Double, _
   ByRef NEnts As System.Integer _
) As System.Object
Visual Basic (Usage) 
Dim instance As ICWContactManager
Dim VarCompBodies As System.Object
Dim DMin As System.Double
Dim DMax As System.Double
Dim NEnts As System.Integer
Dim value As System.Object
 
value = instance.FindNonTouchingPairs(VarCompBodies, DMin, DMax, NEnts)
C# 
System.object FindNonTouchingPairs( 
   System.object VarCompBodies,
   System.double DMin,
   System.double DMax,
   out System.int NEnts
)
C++/CLI 
System.Object^ FindNonTouchingPairs( 
&   System.Object^ VarCompBodies,
&   System.double DMin,
&   System.double DMax,
&   [Out] System.int NEnts
) 

Parameters

VarCompBodies
Array of bodies or components
DMin
Minimum clearance; face pairs closer than this distance do not appear in the returned array
DMax
Maximum clearance; face pairs further apart than this distance do not appear in the returned array
NEnts
Number of non-touching faces

Return Value

Array of non-touching face pairs

Remarks

nEnts contains the size of the returned array. The returned array contains consecutive pairs of non-touching faces.

To create contact sets using the returned array, call ICWContactManager::CreateContactSetsFromPairList.

 

See Also

Availability

SOLIDWORKS Simulation API 2016 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:   FindNonTouchingPairs 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) 2016 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.