pycatia.dnb_fastener_interfaces.dnb_fastener_item_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_fastener_interfaces.dnb_fastener_item_services.DnbFastenerItemServices(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDNBFastenerItemServices- assign_fastener_to_process(i_fastener: Fastener, i_process: Activity, e_status: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AssignFastenerToProcess(Fastener iFastener,Activity iProcess,DNBAssignStatus eStatus)Assigns a specified DELMIAFastener to a specified Activity and return thestatus of the action. Activity can be a TSA (for Resource) as well. *Example:Set myObject = CATIA.GetItem(“DNBFastenerItemServices”) Dim AssignStatus As EnumParam myObject.AssignFastenerToProcess MyFastener,MyActivity,AssignStatus MsgBox AssignStatus
- assign_fastener_to_resource(i_fastener: Fastener, i_resource: Resource, e_status: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub AssignFastenerToResource(Fastener iFastener,Resource iResource,DNBAssignStatus eStatus)Assigns a specified DELMIAFastener to a specified Resource and return thestatus of the action. *Example:Set myObject = CATIA.GetItem(“DNBFastenerItemServices”) Dim AssignStatus As EnumParam myObject.AssignFastenerToResource MyFastener,MyResource,AssignStatus MsgBox AssignStatus
- get_fasteners(i_products: tuple, b_joining_fasteners: bool, o_fastener_array: tuple) list ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetFasteners(CATSafeArrayVariant iProducts,boolean bJoiningFasteners,CATSafeArrayVariant oFastenerArray)Gets all the Fasteners on the products.Parameters:bJoiningFastenersDecides whether only the fastener joining the products will bereturned(true) or all the fasteners on all the products(false)Example:Set myObject = CATIA.GetItem(“DNBFastenerItemServices”)Dim MyNumMyNum = myObject.GetNumberOfFasteners (MyProductArray, false)Dim MyFastenerList() As AnyObjectReDim MyFastenerList(MyNum) myObject.GetFasteners MyProductList,false,MyFastenerList
- Parameters:
i_products (tuple) –
b_joining_fasteners (bool) –
o_fastener_array (tuple) –
- Return type:
- get_fasteners_from_process(i_operation: Activity, i_fasteners: FastenerSet) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetFastenersFromProcess(Activity iOperation,FastenerSet iFasteners)Gets all the DELMIAFasteners assigned to the Activity. *Example:Set myObject = CATIA.GetItem(“DNBFastenerItemServices”)Dim FastenerLot As FatenerSetmyObject.GetFastenersFromProcess MyActivity,FastenerLot
- Parameters:
i_operation (Activity) –
i_fasteners (FastenerSet) –
- Return type:
None
- get_fasteners_from_resource(i_resource: Resource, i_fasteners: FastenerSet) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetFastenersFromResource(Resource iResource,FastenerSet iFasteners)Gets all the DELMIAFasteners assigned to the Resource. *Example:Set myObject = CATIA.GetItem(“DNBFastenerItemServices”)Dim FastenerLot As FatenerSetmyObject.GetFastenersFromProcess MyResource,FastenerLot
- Parameters:
i_resource (Resource) –
i_fasteners (FastenerSet) –
- Return type:
None
- get_number_of_fasteners(i_products: tuple, b_joining_fasteners: bool) int ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetNumberOfFasteners(CATSafeArrayVariant iProducts,boolean bJoiningFasteners) As longGets the number of Fasteners on the products.Parameters:bJoiningFastenersDecides whether only the fastener joining the products will bereturned(true) or all the fasteners on all the products(false)Example:Set myObject = CATIA.GetItem(“DNBFastenerItemServices”)Dim MyNumMyNum = myObject.GetNumberOfFasteners (MyProductArray, false)
- Parameters:
i_products (tuple) –
b_joining_fasteners (bool) –
- Return type:
int
- remove_fastener_from_process(i_fastener: Fastener, i_process: Activity) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveFastenerFromProcess(Fastener iFastener,Activity iProcess)Unassigns a specified DELMIAFastener from a specified Activity. *Example:Set myObject = CATIA.GetItem(“DNBFastenerItemServices”)myObject.RemoveFastenerFromProcess MyFastener,MyActivity
- remove_fastener_from_resource(i_fastener: Fastener, i_resource: Resource) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub RemoveFastenerFromResource(Fastener iFastener,Resource iResource)Unassigns a specified DELMIAFastener from a specified Resource. *Example:Set myObject = CATIA.GetItem(“DNBFastenerItemServices”)myObject.RemoveFastenerFromResource MyFastener,MyResource