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