All Frameworks  Class Hierarchy  This Framework  Indexes

PSNInteroperability Global Function CATOpenConfiguredAssemblyInVPM


HRESULT CATOpenConfiguredAssemblyInVPM(CATLISTV(CATUnicodeString)* iConfiguration,
const CATUnicodeString& iCoid,
const CATUnicodeString& iCompid,
const CATUnicodeString& iCatenv,
const CATUnicodeString& iCatab,
const CATUnicodeString& iCnxString= CATUnicodeString())
Opens a Structure Exploded assembly within ENOVIAvpm V4.
Role:This method opens an assembly stored in Structure Exploded mode within ENOVIAvpm V4 memory according to the specified parameters.
Configured and non configured assemblies can be open using this method.

Use this method before CATLoadChildrenFromVPM.
Use CATCloseAssemblyInVPM to close the open assembly.

Parameters:
iConfiguration
list of the Configuration handlers. The list must be allocated by caller and must not contain NULL pointers. This list must be empty for non configured assemblies or if the assembly explosion has to be performed without configuration.
Note:Only the first element of the list is taken into account.

If needed, your Imakefile.mk should include the module: CATPinServices

iCoid
the Coid of the root part (Hexadecimal 16 crc long)
iCompid
the Compid of the root part (Hexadecimal 16 crc long)
iCatenv
the VPM environment name of the root part (8 crc long)
For instance: "VPMENV "
iCatab
the VPM PART table name of the root Part (18 crc long)
For instance: "PART_LIST "
iCnxString
(optional) if needed, in order to avoid a manual connection.
The connection string of the entity in VPM can be furnished here.
Returns:
  • S_OK: The configured assembly has been successfully open
  • E_FAIL: ENOVIAvpm server cannot be detected
  • E_FAIL: Configured assembly cannot be opened for input parameters

This object is included in the file: CATBatchServices.h

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