Rebuilds a CATProduct from a downstream document refering to an assembly stored in the ENOVIAvpm V4 database.
Role:This method creates a CATProduct in session. This CATProduct contains
the product structure with all the reference documents that are pointed by the downstream
document.
Only the relevant instances that were loaded in session when
the downstream document was created will be contained in the CATProduct.
The CATProduct will also contain all the constraints and the applicative objects associated
to the root product.
The input downstream document must point on an assembly stored in Structure Exploded in the ENOVIAvpm V4 database.
If needed, your Imakefile.mk should include the module: CATPinServices
Parameters:
iMode
loading mode
value 1 is the only value mode supported.
iAssDstDoc
CATDocument downstream document refering to an assembly stored in the ENOVIAvpm V4 database.
oProdDoc
new CATProduct document if the method is successful
Returns:
S_OK: The CATProduct document has been successfuly built
E_FAIL: The method has failed
This object is included in the file: CATBatchServices.h