Loads a given version of a part document from ENOVIA V5 database.
Role:This method loads a given version of a part document and its associated reference
CATPart or CATProduct document from the ENOVIA V5 database in the session.
It performs the attribute mapping on the reference. This method returns a pointer on the document loaded
in session and a pointer on the reference of the part aggregated on document.
If needed, your Imakefile.mk should include the module: CATPDMBaseEnoviaV5CAA
Parameters:
iV_ID
V_ID attribute value of the document master
iV_version
V_version attribute value of the document revision
opPart
pointer to the part reference of the loaded document
opDocument
pointer to the Document loaded in session
Returns:
S_OK: Document revision and its associated part reference successfully loaded
E_FAIL: The method has failed. Possible reasons of error are:
Invalid argument
No document revision found with iV_ID and iV_version input arguments
Document to load is not a CATPart or CATProduct
Connection to ENOVIA V5 database doesn't exist
This object is included in the file: CATPDMInteropServices.h