All Frameworks  Class Hierarchy  This Framework  Next  Indexes

VPMDesktopProduct Class ENOVARMPartServices

ENOVARMPartServices
 

Usage: you must use this class as is. You should never derive it.


public class ENOVARMPartServices

Class to provide access to the ARM Part APIs.
Role: At the Application Server level, there are 2 APIs that this exposes for ARM Parts


Method Index


o getARMPartsReferencedByIIs(CATLISTV(CATIAVPMItemInstance_var)&,CATLISTV(CATIAVPMItemInstance_var)&)
Get ARM Parts that are linked to the input list of Item Instances.
o getPartsReferencedByARMParts(CATLISTV(CATIAVPMItemInstance_var)&,CATIAVPMProductRootClass_var&,CATLISTV(CATIAVPMItemInstance_var)&)
Get List of Item Instances that are linked to the input list of Item Instances.

Methods


o getARMPartsReferencedByIIs
public static HRESULT getARMPartsReferencedByIIs(CATLISTV(CATIAVPMItemInstance_var)& iRegularIIList,
CATLISTV(CATIAVPMItemInstance_var)& oARMPartList)
Get ARM Parts that are linked to the input list of Item Instances.
Parameters:
iRegularIIList
Input list of Item Instances to retrieve the ARM Parts Legal values
List of Item Instances of Size > 0
oARMPartList
Output list of ARM Part Item Instances retrieved by their connections to the input Item Instances
Returns:
S_OK Everything is OK, E_FAIL An error occured (name unknown for example).
o getPartsReferencedByARMParts
public static HRESULT getPartsReferencedByARMParts(CATLISTV(CATIAVPMItemInstance_var)& iARMPartList,
CATIAVPMProductRootClass_var& ihPRCContext,
CATLISTV(CATIAVPMItemInstance_var)& oRegularIIList)
Get List of Item Instances that are linked to the input list of Item Instances.
Parameters:
iARMPartList
Input list of ARM Part Item Instances to be used in retrieving the associated Item Instances Legal values
List of Item Instances of Size > 0
ihPRCContext
Input PRC to use for the context of the Item Instances to retrieve Legal values
Non NULL CATIAVPMProductRootClass
oRegularIIList
Output list of Item Instances retrieved for being connected to the ARM Parts
Returns:
S_OK Everything is OK, E_FAIL An error occured

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

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