pycatia.space_analyses_interfaces.clashes¶
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.clashes.Clashes(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionClashesA collection of all Clash objects currently managed by theapplication.The method GetTechnologicalObject(“Clashes”) on the root product, allows you toretrieve this collection.- add() Clash ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Add() As ClashCreates a Clash object which takes all products into account and adds it tothe Clashes collection.Returns:The created ClashExample:This example creates a new Clash in the TheClashescollection.Dim NewClash As ClashSet NewClash = TheClashes.Add
- Return type:
- add_from_sel() Clash ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddFromSel() As ClashCreates a Clash object which takes all products in the selection intoaccount and adds it to the Clashes collection.Returns:The created ClashExample:This example creates a new Clash in the TheClashescollection.Dim NewClash As ClashSet NewClash = TheClashes.AddFromSel
- Return type:
- item(i_index: cat_variant) Clash ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func Item(CATVariant iIndex) As ClashReturns a Clash object using its index or its name from the Clashescollection.Parameters:iIndexThe index or the name of the Clash to retrieve from the collectionof Clashes. As a numerics, this index is the rank of the Clash in thecollection. The index of the first Clash in the collection is 1, and the indexof the last Clash is Count. As a string, it is the name you assigned to theClash.Example:This example retrieves in ThisClash the ninthClash,and in ThatClash the Clash namedClash Of MyProduct from the TheClashes collection.Dim ThisClash As ClashSet ThisClash = TheClashes.Item(9)Dim ThatClash As ClashSet ThatClash = TheClashes.Item(“Clash Of MyProduct”)
- Parameters:
i_index (cat_variant) –
- Return type:
- remove(i_index: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub Remove(CATVariant iIndex)Removes a Clash object from the Clashes collection.Parameters:iIndexThe index or the name of the Clash to remove from the collection ofClashes. As a numerics, this index is the rank of the Clash in the collection.The index of the first Clash in the collection is 1, and the index of the lastClash is Count. As a string, it is the name you assigned to the Clash.Example:The following example removes the tenth Clash and the ClashnamedClash Of MyProduct from the TheClashes collection.TheClashes.Remove(10)TheClashes.Remove(“Clash Of MyProduct”)
- Parameters:
i_index (cat_variant) –
- Return type:
None