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