pycatia.funct_system_interfaces.funct_associations¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
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.funct_system_interfaces.funct_associations.FunctAssociations(com_object, child_object=<class 'pycatia.funct_system_interfaces.funct_association.FunctAssociation'>)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionFunctAssociationsThe interface to access a set of Functional Associations.It is managed on a Functional Element, thru the MultiRep Facet Manager(MRM).- create(i_name: str) FunctAssociation ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Create(CATBSTR iName) As FunctAssociationCreate a FunctAssociation.
- Parameters:
i_name (str) –
- Return type:
- delete(i_association: FunctAssociation) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Delete(FunctAssociation iAssociation)Delete a FunctAssociation.
- Parameters:
i_association (FunctAssociation) –
- Return type:
None
- elem(i_index: cat_variant) FunctAssociation ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Elem(CATVariant iIndex) As FunctAssociationReturns an association using its index or its name from the associationscollection.Parameters:iIndexThe index or the name of the association to retrieve from thecollection of associations. As a numerics, this index is the rank of theassociation in the collection. The index of the first association in thecollection is 1, and the index of the last association is Count. As a string,it is the name you assigned to the association using theAnyObject.Name property.Returns:The retrieved associationExample:This example retrieves in Act1 the fifth association in the collectionand in Act2 the association named Moves.Dim FunctElem As FunctionalObjectSet FunctElem = FunctDoc.CurrentDescription.Objects.Elem(“Valve”)Dim FacetMRM As FunctionalMultiRepMgrSet FacetMRM = FunctElem.GetFacetByName(“MRM”)Dim Assoc1 As FunctAssociationSet Assoc1 = FacetMRM.Associations.Elem(5)Dim Assoc2 As FunctAssociationSet Assoc2 = FacetMRM.Associations.Elem(“Skeleton 2D”)
- Parameters:
i_index (cat_variant) –
- Return type: