Indexes   

Conflict (Object)

Represents the Conflict object.

One Conflict object exists for each couple of products that are colliding.


Property Index

Comment
Returns or sets a comment on the conflict.
ComparisonInfo
Returns the information on the comparison between the conflict and the previous one.
FirstProduct
Returns the first product involved in the conflict.
SecondProduct
Returns the second product involved in the conflict.
Status
Returns or sets the status of the conflict.
Type
Returns the type of the conflict.
Value
Returns the conflict value.

Method Index

GetFirstPointCoordinates
Retrieves the coordinates of the point on the first product which realizes the penetration or minimum distance.
GetSecondPointCoordinates
Retrieves the coordinates of the point on the second product which realizes the penetration or minimum distance.

Properties


o Property Comment() As
Returns or sets a comment on the conflict.
Example:
The first example gets the comment of NewConflict Conflict.
    Dim aComment As String
    aComment = NewConflict.Comment
    
The second example sets a comment on the NewConflict Conflict.
    NewConflict.Comment = "OK : plastic part"
    
o Property ComparisonInfo() As (Read Only)
Returns the information on the comparison between the conflict and the previous one.
Example:
This example retrieves the comparison information of the NewConflict Conflict.
    Dim anInfo As CatConflictComparison
    anInfo = NewConflict.ComparisonInfo
    
o Property FirstProduct() As (Read Only)
Returns the first product involved in the conflict.
Example:
This example retrieves the first product involved in the NewConflict Conflict.
    Dim aProduct As Product
    Set aProduct = NewConflict.FirstProduct
    
o Property SecondProduct() As (Read Only)
Returns the second product involved in the conflict.
Example:
This example retrieves the second product involved in the NewConflict Conflict.
    Dim aProduct As Product
    Set aProduct = NewConflict.SecondProduct
    
o Property Status() As
Returns or sets the status of the conflict.
Example:
The first example gets the status of NewConflict Conflict.
    Dim aStatus As CatConflictStatus
    aStatus = NewConflict.Status
    
The second example sets the status of NewConflict Conflict.
    NewConflict.Status = CatConflictStatusIrrelevant
    
o Property Type() As (Read Only)
Returns the type of the conflict.
Example:
This example retrieves the type of the NewConflict Conflict.
    Dim conflictType As CatConflictType
    conflictType = NewConflict.Type
    
o Property Value() As (Read Only)
Returns the conflict value.

This value is the penetration lengh in case of a clash or the minimum distance in case of clearance violation.

Example:
This example retrieves the value of the NewConflict Conflict.
    Dim conflictValue As double
    conflictValue = NewConflict.Value
    

Methods


o Sub GetFirstPointCoordinates( oCoordinates)
Retrieves the coordinates of the point on the first product which realizes the penetration or minimum distance.
Parameters:
oCoordinates
The coordinates of the point
  • oCoordinates(0) is the X coordinate
  • oCoordinates(1) is the Y coordinate
  • oCoordinates(2) is the Z coordinate
Example:
This example retrieves the first product involved in the NewConflict Conflict.
    Dim Coordinates (2)
    NewConflict.GetFirstPointCoordinates Coordinates
    
o Sub GetSecondPointCoordinates( oCoordinates)
Retrieves the coordinates of the point on the second product which realizes the penetration or minimum distance.
Parameters:
oCoordinates
The coordinates of the point
  • oCoordinates(0) is the X coordinate
  • oCoordinates(1) is the Y coordinate
  • oCoordinates(2) is the Z coordinate
Example:
This example retrieves the coordinates in the NewConflict Conflict.
    Dim Coordinates (2)
    NewConflict.GetSecondPointCoordinates Coordinates
    

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