pycatia.funct_system_interfaces.functional_objects¶
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.functional_objects.FunctionalObjects(com_object, child_object=<class 'pycatia.funct_system_interfaces.functional_object.FunctionalObject'>)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionFunctionalObjectsInterface to access a collection of FunctionalObjects.- create(i_name: str) FunctionalObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Create(CATBSTR iName) As FunctionalObjectCreates a FunctionalObject.
- Parameters:
i_name (str) –
- Return type:
- create_proxy(i_name: str, i_desc: FunctionalDescription) FunctionalObjectProxy ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func CreateProxy(CATBSTR iName,FunctionalDescription iDesc) As FunctionalObjectProxyCreates a FunctionalObjectProxi.
- Parameters:
i_name (str) –
i_desc (FunctionalDescription) –
- Return type:
- delete(i_object: FunctionalObject) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Delete(FunctionalObject iObject)Deletes a FunctionalObject.
- Parameters:
i_object (FunctionalObject) –
- Return type:
None
- elem(i_index: cat_variant) FunctionalObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Elem(CATVariant iIndex) As FunctionalObjectReturns an action using its index or its name from the actionscollection.Parameters:iIndexThe index or the name of the action to retrieve from the collectionof actions. As a numerics, this index is the rank of the action in thecollection. The index of the first action in the collection is 1, and the indexof the last action is Count. As a string, it is the name you assigned to theaction using theAnyObject.Name property.Returns:The retrieved actionExample:This example retrieves in Obj1 the fifth object in the collection andin Obj2 the action named Valve.Dim Obj1 As FunctionalObjectSet Obj1 = Desc.Object(5)Dim Obj2 As FunctionalObjectSet Obj2 = Desc.Object(“Valve”)
- Parameters:
i_index (cat_variant) –
- Return type: