All Frameworks  Object Hierarchy  This Framework  Indexes   

Clash (Object)

Represents the Clash object.
The Clash object is a specification of a collision detection of products.

Property Index

AnnotatedViews
Returns the AnnotatedViews collection of the clash.
Clearance
Returns or sets the clearance value for the computation.
ComputationType
Returns or sets the computation type.
Conflicts
Returns the collection of computed Conflicts.
FirstGroup
Returns or sets the first group used by the computation.
InterferenceType
Returns or sets the interference type for the computation.
Marker3Ds
Returns the Marker3Ds collection of the clash.
SecondGroup
Returns or sets the second group used by the computation.

Method Index

Compute
Computes the conflicts.
Export
Exports the results in a XML file.

Properties


o Property AnnotatedViews() As (Read Only)
Returns the AnnotatedViews collection of the clash.
Example:
This example retrieves the AnnotatedViews collection of NewClash Clash.
    Dim TheAnnotatedViewsList As AnnotatedViews
    Set TheAnnotatedViewsList = NewClash.AnnotatedViews
    
o Property Clearance() As
Returns or sets the clearance value for the computation.

The clearance value must be greater than 0. Units are Millimeter.

Example:
The first example retrieves the clearance value of NewClash Clash.
    Dim Value As double
    Value = NewClash.Clearance
    
The second example sets the clearance value of NewClash Clash.
    NewClash.Clearance = 10.
    
o Property ComputationType() As
Returns or sets the computation type.
Example:
The first example retrieves the computation type of NewClash Clash.
    Dim ComputationType As CatClashComputationType
    ComputationType = NewClash.ComputationType
    
The second example sets the computation type of NewClash Clash.
    NewClash.ComputationType = catClashComputationTypeBetweenAll
    
o Property Conflicts() As (Read Only)
Returns the collection of computed Conflicts.
Example:
This example retrieves the conflicts of NewClash Clash.
    Dim NewConflicts As Conflicts
    Set NewConflicts = NewClash.Conflicts
    
o Property FirstGroup() As
Returns or sets the first group used by the computation.
Example:
The first example retrieves the first group of NewClash Clash.
    Dim FirstGroup As Group
    Set FirstGroup = NewClash.FirstGroup
    
The second example sets the first group of NewClash Clash.
    Dim FirstGroup As Group
    NewClash.FirstGroup = FirstGroup
    
o Property InterferenceType() As
Returns or sets the interference type for the computation.
Example:
The first example retrieves the interference type of NewClash Clash.
    Dim InterferenceType As CatClashInterferenceType
    InterferenceType = NewClash.InterferenceType
    
The second example sets the interference Type of NewClash Clash.
    NewClash.InterferenceType = CatClashInterferenceTypeContact
    
o Property Marker3Ds() As (Read Only)
Returns the Marker3Ds collection of the clash.
Example:
This example retrieves the Marker3Ds collection of NewClash Clash.
    Dim TheMarker3DsList As Marker3Ds
    Set TheMarker3DsList = NewClash.Marker3Ds
    
o Property SecondGroup() As
Returns or sets the second group used by the computation.
Example:
The first example retrieves the second group of NewClash Clash.
    Dim SecondGroup As Group
    Set SecondGroup = NewClash.SecondGroup
    
The second example sets the second group of NewClash Clash.
    Dim SecondGroup As Group
    NewClash.SecondGroup = SecondGroup
    

Methods


o Sub Compute()
Computes the conflicts.
Example:
This example computes the conflicts of NewClash Clash.
    NewClash.Compute
    
o Sub Export( iType,
iPath)
Exports the results in a XML file.
Parameters:
iType
The type of export.
iPath
The path of the file.
Example:
This example exports the results of NewClash Clash.
    Dim ThePath As String
    NewClash.Export CatClashExportTypeXMLResultOnly, "c:\tmp\sample.xml"
    

Copyright © 2003, Dassault Systèmes. All rights reserved.