pycatia.dnb_ekp_interfaces.ekp_services¶
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.dnb_ekp_interfaces.ekp_services.EkpServices(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectEKPServicesInterface to assign and remove Engineering Requirements to and from anactivity.ClassReference, Class#MethodReference, #InternalMethod…- assign_er(i_geometric_feature: AnyObject, i_fta: AnyObject, i_operation: Activity, i_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AssignER(CATBaseDispatch iGeometricFeature,CATBaseDispatch iFTA,Activity iOperation,ItemAssignmentType iType)Assigns the passed geometric feature to the operation.Parameters:iGeometricFeature[in] Geometric Element user wants to assign User has a handle tothis objectiFTA[in] Underlying FTA object associated with the geometric featureCan be obtained using CAA C++ API exposed by CATIA FTA Modeler and passed tothis APIiOperation[in] The Operation to which assignment needs to be done User has ahandle to this objectiType[in] Type of assignment whether ‘Partial’ or ‘Complete’ User needsto know what type of assignment he/she wants tomake
- assign_er_with_fta(i_fta: AnyObject, i_operation: Activity, i_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AssignERWithFTA(CATBaseDispatch iFTA,Activity iOperation,ItemAssignmentType iType)Assigns the passed FTA to the Operation .Parameters:iFTA[in] FTA to be passediOperation[in] The Operation to which assignment needs to be doneiType[in] type of assignment - partial or complete
- get_assigned_er(i_operation: Activity, i_type: int, o_item_list: tuple) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetAssignedER(Activity iOperation,ItemAssignmentType iType,CATSafeArrayVariant oItemList)Given a type of assignment, this method returns all the ER assigned to theOperation.Parameters:iOperation[in] The Operation to which assignment needs to be doneiType[in] the type of assignment, it could be partial or completeoItemList[out] List of assigned ERs to the operation oractivity
- Parameters:
i_operation (Activity) –
i_type (int) – enum item_assignment_type
o_item_list (tuple) –
- Return type:
None
- remove_er_assignment(i_geometric_feature: AnyObject, i_fta: AnyObject, i_operation: Activity, i_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveERAssignment(CATBaseDispatch iGeometricFeature,CATBaseDispatch iFTA,Activity iOperation,ItemAssignmentType iType)Removes the ER assignment for the passed GeometricFeature.Parameters:iGeometricFeature[in] The Geometric feature which will be unassignediFTA[in] FTA to be passediOperation[in] The Operation to which assignment needs to be doneiType[in] the type of assignment, it could be partial orcomplete
- remove_er_with_fta(i_fta: AnyObject, i_operation: Activity, i_type: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveERWithFTA(CATBaseDispatch iFTA,Activity iOperation,ItemAssignmentType iType)Removes the ER assignment for the passed FTA.Parameters:iFTA[in] the FTA to be passed to the operationiOperation[in] The Operation to which assignment needs to be doneiType[in] the type of assignment - partial or complete