All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DNBManufacturingLayoutItf Interface CATIArrAttachmentFactory

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIArrAttachmentFactory
 

Usage: you can freely reimplement this interface.


interface CATIArrAttachmentFactory

Interface to create an attachment between two products.
Role: To create attachment between products.


Method Index


o Attach(CATIProduct*,CATIProduct*)
Create attachment between two products.
o Attach(CATIProduct*,CATIProduct*,CATIArrIgpAttachment**)
Create attachment between two products.
o AttachMA(CATISpecObject*,CATISpecObject*)
Create attachment between two products or Manufacturing Assemblies.
o AttachMA(CATISpecObject*,CATISpecObject*,CATIArrIgpAttachment**)
Create attachment between two products or Manufacturing Assemblies along with returning the attachment
o Remove(CATIArrIgpAttachment*)
Remove an attachment

Methods


o Attach
public virtual HRESULT Attach(CATIProduct* iParrent,
CATIProduct* iChild) = 0
Create attachment between two products.
Parameters:
iParrent
Product which will be considered as the master product for attachment
iChild
Product which will be considered as the slave product for attachment
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o Attach
public virtual HRESULT Attach(CATIProduct* iParrent,
CATIProduct* iChild,
CATIArrIgpAttachment** oAttach) = 0
Create attachment between two products.
Parameters:
iParrent
Product which will be considered as the master product for attachment
iChild
Product which will be considered as the slave product for attachment
oAttach
The created attachment.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AttachMA
public virtual HRESULT AttachMA(CATISpecObject* iParent,
CATISpecObject* iChild)= 0
Create attachment between two products or Manufacturing Assemblies.
Parameters:
iParrent
Product or a Manufacturing Assembly which will be considered as the master product for attachment
iChild
Product or a Manufacturing Assembly which will be considered as the slave product for attachment
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o AttachMA
public virtual HRESULT AttachMA(CATISpecObject* iParent,
CATISpecObject* iChild,
CATIArrIgpAttachment** oAttach)= 0
Create attachment between two products or Manufacturing Assemblies along with returning the attachment
Parameters:
iParrent
Product or a Manufacturing Assembly which will be considered as the master product for attachment
iChild
Product or a Manufacturing Assembly which will be considered as the slave product for attachment
oAttach
The created attachment.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o Remove
public virtual HRESULT Remove(CATIArrIgpAttachment* iAttach)= 0
Remove an attachment
Parameters:
iParrent
Product or a Manufacturing Assembly which will be considered as the master product for attachment
iChild
Product or a Manufacturing Assembly which will be considered as the slave product for attachment
oAttach
The created attachment.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATIArrAttachmentFactory.h
If needed, your Imakefile.mk should include the module: DNBManufacturingLayoutItf

Copyright © 2003, Dassault Systèmes. All rights reserved.