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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
EKPServices

Interface to assign and remove Engineering Requirements to and from an
activity.
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 to
this object
iFTA
[in] Underlying FTA object associated with the geometric feature
Can be obtained using CAA C++ API exposed by CATIA FTA Modeler and passed to
this API
iOperation
[in] The Operation to which assignment needs to be done User has a
handle to this object
iType
[in] Type of assignment whether ‘Partial’ or ‘Complete’ User needs
to know what type of assignment he/she wants to
make
Parameters:
Return type:

None

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 passed
iOperation
[in] The Operation to which assignment needs to be done

iType
[in] type of assignment - partial or complete
Parameters:
  • i_fta (AnyObject) –

  • i_operation (Activity) –

  • i_type (int) – enum item_assignment_type

Return type:

None

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 the
Operation.

Parameters:

iOperation
[in] The Operation to which assignment needs to be done

iType
[in] the type of assignment, it could be partial or complete

oItemList
[out] List of assigned ERs to the operation or
activity
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 Geometric
Feature.

Parameters:

iGeometricFeature
[in] The Geometric feature which will be unassigned

iFTA
[in] FTA to be passed
iOperation
[in] The Operation to which assignment needs to be done

iType
[in] the type of assignment, it could be partial or
complete
Parameters:
Return type:

None

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 operation
iOperation
[in] The Operation to which assignment needs to be done

iType
[in] the type of assignment - partial or complete
Parameters:
  • i_fta (AnyObject) –

  • i_operation (Activity) –

  • i_type (int) – enum item_assignment_type

Return type:

None