pycatia.dnb_manufacturing_layout_interfaces.dnb_attachment_factory

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_factory.DnbAttachmentFactory(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
DNBAttachmentFactory

Interface representing xxx.

Role: Components that implement DNBIABasicDevice are …

Do not use the DNBIAMRLAttachmentFactory interface for such and such
ClassReference, Class#MethodReference, #InternalMethod…
attach(i_parent: AnyObject, i_child: AnyObject, o_attachment: AnyObject) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub Attach(CATBaseDispatch iParent,
CATBaseDispatch iChild,
CATBaseDispatch oAttachment)

Attach a Product/MA with another Product/MA

Parameters:

iParent
This input parameter contains the Parent product/MA of the
attachment to be created
iChild
This input parameter contains the Child product/MA of the
attachment to be created
oAttachment
This output parameter contains the attachment that is created.

Returns:
An HRESULT
Parameters:
Return type:

None

remove(i_attachment: AnyObject) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub Remove(CATBaseDispatch iAttachment)

Remove an attachment.

Parameters:

iAttachment
This input parameter contains the Attachment to be deleted.

Returns:
An HRESULT
Parameters:

i_attachment (AnyObject) –

Return type:

None