Loads in session a document stored in an ENOVIAvpm V4 database.
Role:This method loads in session a document stored
in Publication Exposed mode in the ENOVIAvpm V4 database and
returns the corresponding CATDocument.
The document can be any CATIA V5 type document.
This method takes as input the document identifier iDocId.
Only the 42 first character of the string are relevant and are structured as followed:
the Coid of the document (database binary 8 crc long)
the Compid of the document (database binary 8 crc long)
the VPM environment name of the root part (8 crc long).
For instance "VPMENV "
the VPM document table name (18 crc long).
For instance "DOCUMENT "
The 8 crc long server name might be present in the string but will be ignored.
If needed, your Imakefile.mk should include the module: CATPinServices
Parameters:
iLgId
length of the string iDocId.
iDocId
ENOVIAvpm document identifier.
oDoc
the new document is session only if the method is successful
Returns:
S_OK: The document is successfuly loaded in session
E_FAIL: ENOVIAvpm server cannot be detected
E_FAIL: The method has failed
This object is included in the file: CATBatchServices.h