Hide Table of Contents
ICollisionDetection Method (IDragOperator)

Sets the collision detection parameters.

.NET Syntax

Visual Basic (Declaration) 
Function ICollisionDetection( _
   ByVal Count As Integer, _
   ByRef ComponentArray As Component2, _
   ByVal PartOnly As Boolean, _
   ByVal StopAt As Boolean _
) As Boolean
Visual Basic (Usage) 
Dim instance As IDragOperator
Dim Count As Integer
Dim ComponentArray As Component2
Dim PartOnly As Boolean
Dim StopAt As Boolean
Dim value As Boolean
 
value = instance.ICollisionDetection(Count, ComponentArray, PartOnly, StopAt)
C# 
bool ICollisionDetection( 
   int Count,
   ref Component2 ComponentArray,
   bool PartOnly,
   bool StopAt
)
C++/CLI 
bool ICollisionDetection( 
&   int Count,
&   Component2^% ComponentArray,
&   bool PartOnly,
&   bool StopAt
) 

Parameters

Count
Number of components for collision detection
ComponentArray
Array of components for collision detection
PartOnly
True checks for collisions with only the components that you selected to move, false check for collisions in all affected components
StopAt
True stops the motion of the component when it touches any other entity, false does not

Return Value

True if successful, false if not
 

See Also

Availability

SolidWorks 2001Plus FCS, Revision Number 10.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:   ICollisionDetection Method (IDragOperator)
*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) 2012 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.