All Frameworks  Class Hierarchy  This Framework  Indexes

PSNInteroperability Global Function CATOpenConfiguredAssemblyInVPM


HRESULT CATOpenConfiguredAssemblyInVPM(int iLgId,
char* iRootPartId,
CATLISTV(CATUnicodeString)* iConfiguration)
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.

This method takes as input the root part identifier iRootPartId. Only the 42 first character of the string are relevant and must be structured as followed:


The 8 crc long server name might be present in the string but will be ignored.
Use CATCloseAssemblyInVPM to close the open assembly.

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

Parameters:
iLgId
length of the iRootPartId string
iRootPartId
ENOVIAvpm root part identifier.
iConfiguration
list of the Configuration handler. 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.
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.