pycatia.space_analyses_interfaces.conflict¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.space_analyses_interfaces.conflict.Conflict(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectConflictRepresents the Conflict object.One Conflict object exists for each couple of products that arecolliding.- property comment: str¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Comment() As CATBSTRReturns or sets a comment on the conflict.Example:The first example gets the comment of NewConflictConflict.Dim aComment As StringaComment = NewConflict.CommentThe second example sets a comment on the NewConflictConflict.NewConflict.Comment = “OK : plastic part”
- Return type:
str
- property comparison_info: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ComparisonInfo() As CatConflictComparison (ReadOnly)Returns the information on the comparison between the conflict and theprevious one.Example:This example retrieves the comparison information of theNewConflict Conflict.Dim anInfo As CatConflictComparisonanInfo = NewConflict.ComparisonInfo
- Returns:
enum cat_conflict_comparison
- Return type:
int
- property first_product: Product¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstProduct() As Product (Read Only)Returns the first product involved in the conflict.Example:This example retrieves the first product involved in theNewConflict Conflict.Dim aProduct As ProductSet aProduct = NewConflict.FirstProduct
- Return type:
- get_first_point_coordinates() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetFirstPointCoordinates(CATSafeArrayVariantoCoordinates)Retrieves the coordinates of the point on the first product which realizesthe penetration or minimum distance.Parameters:oCoordinatesThe coordinates of the pointoCoordinates(0) is the X coordinateoCoordinates(1) is the Y coordinateoCoordinates(2) is the Z coordinateExample:This example retrieves the first product involved in theNewConflict Conflict.Dim Coordinates (2)NewConflict.GetFirstPointCoordinates Coordinates
- Return type:
tuple
- get_second_point_coordinates() tuple ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetSecondPointCoordinates(CATSafeArrayVariantoCoordinates)Retrieves the coordinates of the point on the second product which realizesthe penetration or minimum distance.Parameters:oCoordinatesThe coordinates of the pointoCoordinates(0) is the X coordinateoCoordinates(1) is the Y coordinateoCoordinates(2) is the Z coordinateExample:This example retrieves the coordinates in the NewConflictConflict.Dim Coordinates (2)NewConflict.GetSecondPointCoordinates Coordinates
- Return type:
tuple
- property second_product: Product¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondProduct() As Product (Read Only)Returns the second product involved in the conflict.Example:This example retrieves the second product involved in theNewConflict Conflict.Dim aProduct As ProductSet aProduct = NewConflict.SecondProduct
- Return type:
- property status: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Status() As CatConflictStatusReturns or sets the status of the conflict.Example:The first example gets the status of NewConflictConflict.Dim aStatus As CatConflictStatusaStatus = NewConflict.StatusThe second example sets the status of NewConflictConflict.NewConflict.Status = CatConflictStatusIrrelevant
- Returns:
enum cat_conflict_status
- Return type:
int
- property type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Type() As CatConflictType (Read Only)Returns the type of the conflict.Example:This example retrieves the type of the NewConflictConflict.Dim conflictType As CatConflictTypeconflictType = NewConflict.Type
- Returns:
enum cat_conflict_type
- Return type:
int
- property value: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Value() As double (Read Only)Returns the conflict value.This value is the penetration lengh in case of a clash or the minimumdistance in case of clearance violation.Example:This example retrieves the value of the NewConflictConflict.Dim conflictValue As doubleconflictValue = NewConflict.Value
- Return type:
float