Hide Table of Contents
CheckInterference Method (IModeler)

Obsolete. Superseded by IModeler::CheckInterference3.

.NET Syntax

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