Hide Table of Contents
CheckInterference Method (IModeler)

Obsolete. Superseded by IModeler::CheckInterference3.

.NET Syntax

Visual Basic (Declaration) 
Function CheckInterference( _
   ByVal Body1 As System.Object, _
   ByVal Body2 As System.Object, _
   ByVal CoincidentInterference As System.Boolean, _
   ByRef Body1InterferedFaceArray As System.Object, _
   ByRef Body2InterferedFaceArray As System.Object, _
   ByRef IntersectedBodyArray As System.Object _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IModeler
Dim Body1 As System.Object
Dim Body2 As System.Object
Dim CoincidentInterference As System.Boolean
Dim Body1InterferedFaceArray As System.Object
Dim Body2InterferedFaceArray As System.Object
Dim IntersectedBodyArray As System.Object
Dim value As System.Boolean
 
value = instance.CheckInterference(Body1, Body2, CoincidentInterference, Body1InterferedFaceArray, Body2InterferedFaceArray, IntersectedBodyArray)
C# 
System.bool CheckInterference( 
   System.object Body1,
   System.object Body2,
   System.bool CoincidentInterference,
   out System.object Body1InterferedFaceArray,
   out System.object Body2InterferedFaceArray,
   out System.object IntersectedBodyArray
)
C++/CLI 
System.bool CheckInterference( 
&   System.Object^ Body1,
&   System.Object^ Body2,
&   System.bool CoincidentInterference,
&   [Out] System.Object^ Body1InterferedFaceArray,
&   [Out] System.Object^ Body2InterferedFaceArray,
&   [Out] System.Object^ IntersectedBodyArray
) 

Parameters

Body1
First body to check for interference
Body2
Second body to check for interference
CoincidentInterference

True to check for coincident interference, false to not

Body1InterferedFaceArray
Array of faces that have interfered from the first body with the second body
Body2InterferedFaceArray
Array of faces that have interfered from the second body with the first body
IntersectedBodyArray
Array of the interfering bodies

Return Value

True if successful, false if not

Example

Remarks

Each body must be transformed in the coordinate space of the top-level assembly so that it is positioned the same with respect to the other bodies as it is in assembly space.

To align the two bodies, apply the transformation from IComponent2::Transform2 using IBody2::ApplyTransform.

 

See Also

Availability

SOLIDWORKS 2001 FCS, Revision Number 9.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:   CheckInterference Method (IModeler)
*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.