All Frameworks  Class Hierarchy  This Framework  Indexes

CATPDMBase Global Function GetDocumentSetFromV_IDAndRevision


HRESULT GetDocumentSetFromV_IDAndRevision( const CATUnicodeString& iV_ID,
const CATUnicodeString& iRevision,
CATListOfCATUnicodeString& oListofV_ID,
CATListOfCATUnicodeString& oListofRevisions)
Retrieves the document family for a given document revision from ENOVIA V5 database.
Role:This method enables retrieve from the ENOVIA V5 database the document family of a given document revision. This family is described by the list of V_ID and V_Revision attribute values of the set of documents linked with this document.

If needed, your Imakefile.mk should include the module: CATPDMBaseEnoviaV5CAA

Parameters:
iV_ID
V_ID attribute value of the document Master
iRevision
V_version attribute value document Revision
oListofV_ID
List of V_ID of the set of documents linked with the document
oListofRevisions
List of V_Version of the set of documents linked with the document. The size of this list is equal with oListofV_ID size.
Returns:
  • S_OK:execution successfully
  • E_FAIL: The method has failed. Possible reasons of error are:
    • No document found for iV_ID and iRevision
    • Connection to ENOVIA V5 database doesn't exist

This object is included in the file: CATPDMInteropServices.h

Copyright © 2003, Dassault Systèmes. All rights reserved.