pycatia.space_analyses_interfaces.clash¶
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.clash.Clash(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectClashRepresents the Clash object.The Clash object is a specification of a collision detection ofproducts.- property annotated_views: AnnotatedViews¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property AnnotatedViews() As AnnotatedViews (Read Only)Returns the AnnotatedViews collection of the clash.Example:This example retrieves the AnnotatedViews collection of NewClashClash.Dim TheAnnotatedViewsList As AnnotatedViewsSet TheAnnotatedViewsList = NewClash.AnnotatedViews
- Return type:
- property clearance: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Clearance() As doubleReturns or sets the clearance value for the computation.The clearance value must be greater than 0. Units areMillimeter.Example:The first example retrieves the clearance value of NewClashClash.Dim Value As doubleValue = NewClash.ClearanceThe second example sets the clearance value of NewClashClash.NewClash.Clearance = 10.
- Return type:
float
- property computation_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ComputationType() As CatClashComputationTypeReturns or sets the computation type.Example:The first example retrieves the computation type of NewClashClash.Dim ComputationType As CatClashComputationTypeComputationType = NewClash.ComputationTypeThe second example sets the computation type of NewClashClash.NewClash.ComputationType = catClashComputationTypeBetweenAll
- Returns:
enum cat_clash_computation_type
- Return type:
int
- compute() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub Compute()Computes the conflicts.Example:This example computes the conflicts of NewClashClash.NewClash.Compute
- Return type:
None
- property conflicts: Conflicts¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Conflicts() As Conflicts (Read Only)Returns the collection of computed Conflicts.Example:This example retrieves the conflicts of NewClashClash.Dim NewConflicts As ConflictsSet NewConflicts = NewClash.Conflicts
- Return type:
- export(i_type: int, i_path: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub Export(CatClashExportType iType,CATBSTR iPath)Exports the results in a XML file.Parameters:iTypeThe type of export.iPathThe path of the file.Example:This example exports the results of NewClashClash.Dim ThePath As StringNewClash.Export CatClashExportTypeXMLResultOnly,“c:tmpsample.xml”
- Parameters:
i_type (int) – enum cat_clash_export_type
i_path (str) –
- Return type:
None
- property first_group: Group¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstGroup() As GroupReturns or sets the first group used by the computation.Example:The first example retrieves the first group of NewClashClash.Dim FirstGroup As GroupSet FirstGroup = NewClash.FirstGroupThe second example sets the first group of NewClashClash.Dim FirstGroup As GroupNewClash.FirstGroup = FirstGroup
- Return type:
- property interference_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property InterferenceType() As CatClashInterferenceTypeReturns or sets the interference type for the computation.Example:The first example retrieves the interference type of NewClashClash.Dim InterferenceType As CatClashInterferenceTypeInterferenceType = NewClash.InterferenceTypeThe second example sets the interference Type of NewClashClash.NewClash.InterferenceType = CatClashInterferenceTypeContact
- Returns:
enum cat_clash_interference_type
- Return type:
int
- property marker_3ds: Marker3Ds¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Marker3Ds() As Marker3Ds (Read Only)Returns the Marker3Ds collection of the clash.Example:This example retrieves the Marker3Ds collection of NewClashClash.Dim TheMarker3DsList As Marker3DsSet TheMarker3DsList = NewClash.Marker3Ds
- Return type:
- property second_group: Group¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SecondGroup() As GroupReturns or sets the second group used by the computation.Example:The first example retrieves the second group of NewClashClash.Dim SecondGroup As GroupSet SecondGroup = NewClash.SecondGroupThe second example sets the second group of NewClashClash.Dim SecondGroup As GroupNewClash.SecondGroup = SecondGroup
- Return type: