Opens a product structure from a PSN file.
Role:This method opens in session a product structure defined from
a ENOVIAvpm V4 PSN file. Usually, the PSN file is saved from the ENOVIAvpm V4 client
on unix.
The method returns the CATDocument associated to the root part of the product structure.
If needed, your Imakefile.mk should include the module: CATPinServices
Parameters:
iuPSNPath
The full path of the ENOVIAvpm V4 psn file.
This must be a Unix file path with .psn extension.
Only files stored on unix are supported.
iiMode
loading mode:
0 for static
1 for dynamic
iiSelection
The type of selection:
0 for selected instances
1 for all instances
opDoc
The CATProduct document created.
iLoadDoc
loading document:
TRUE Open PSN Graph with loading the document
FALSE Open PSN Graph without loading the document
Returns:
S_OK: The PSN file has been successfuly loaded in session
E_FAIL: the connection to the database was not previously done
E_FAIL: some input parameters are incorrect
E_FAIL: The method failed< /li>
This object is included in the file: CATBatchServices.h