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

Interface 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:

oChild
This 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 Attachment

Parameters:

oChildMA
This out parameter contains Child Manufacturing Assembly of the
Attachment .

Returns:
HRESULT indicate whether function succeeded. It fails if the Child is
not 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:

oParent
This 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:

oParentMA
This out parameter contains the Parent MA of the attachment .

idbTrans
This parameter contains distance data in Meters or angular data in
degree radian.

Returns:
HRESULT indicate whether function succeed. It fails if the Parent is
not 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 Assembly

Parameters:

iChildMA
TRUE if child is MA, FALSE otherwise

Returns:
HRESULT indicate whether function succeeded. It fails if the Child is
not 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 Assembly

Parameters:

iParentMA
TRUE if Parent is MA, FALSE otherwise

Returns:
HRESULT indicate whether function succeeded. It fails if the Parent is
not a Manufacturing Assembly
Parameters:

i_parent_ma (bool) –

Return type:

None