pycatia.dnb_manufacturing_layout_interfaces.dnb_attachment¶
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_manufacturing_layout_interfaces.dnb_attachment.DnbAttachment(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDNBAttachmentInterface representing xxx.Role: Components that implement DNBIABasicDevice are …Do not use the DNBIAMRLAttachment interface for such and such ClassReference,Class#MethodReference, #InternalMethod…- get_child(o_child: Product) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetChild(Product oChild)Get the Child Product of the Attachment.Parameters:oChildThis out parameter contains the Child Product .Returns:HRESULT indicate whether function succeed.
- Parameters:
o_child (Product) –
- Return type:
None
- get_child_ma(o_child_ma: AnyObject) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetChildMA(CATBaseDispatch oChildMA)Get the Child Manufacturing Assembly of the AttachmentParameters:oChildMAThis out parameter contains Child Manufacturing Assembly of theAttachment .Returns:HRESULT indicate whether function succeeded. It fails if the Child isnot a Manufacturing Assembly
- Parameters:
o_child_ma (AnyObject) –
- Return type:
None
- get_parent(o_parent: Product) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetParent(Product oParent)Get the Parent Product of the Attachment.Parameters:oParentThis outer parameter contains the Parent Product .Returns:An HRESULT
- Parameters:
o_parent (Product) –
- Return type:
None
- get_parent_ma(o_parent_ma: AnyObject) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetParentMA(CATBaseDispatch oParentMA)Get the Parent Manufacturing Assembly of the Attachment.Parameters:oParentMAThis out parameter contains the Parent MA of the attachment .idbTransThis parameter contains distance data in Meters or angular data indegree radian.Returns:HRESULT indicate whether function succeed. It fails if the Parent isnot a Manufacturing Assembly
- Parameters:
o_parent_ma (AnyObject) –
- Return type:
None
- is_child_ma(i_child_ma: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub IsChildMA(boolean iChildMA)Get whether the Child is a Manufacturing AssemblyParameters:iChildMATRUE if child is MA, FALSE otherwiseReturns:HRESULT indicate whether function succeeded. It fails if the Child isnot a Manufacturing Assembly
- Parameters:
i_child_ma (bool) –
- Return type:
None
- is_parent_ma(i_parent_ma: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub IsParentMA(boolean iParentMA)Get whether the Parent is a Manufacturing AssemblyParameters:iParentMATRUE if Parent is MA, FALSE otherwiseReturns:HRESULT indicate whether function succeeded. It fails if the Parent isnot a Manufacturing Assembly
- Parameters:
i_parent_ma (bool) –
- Return type:
None