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 Coid of the root part (database binary 8 crc long)
the Compid of the root part (database binary 8 crc long)
the VPM environment name of the root part (8 crc long).
For instance "VPMENV "
the VPM PART table name of the root Part (18 crc long).
For instance "PART_LIST "
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