All Frameworks  Class Hierarchy  This Framework  Indexes

CATPDMBase Global Function ExtractDocumentSetToFileDirectory


HRESULT ExtractDocumentSetToFileDirectory( const CATUnicodeString& iV_ID,
const CATUnicodeString& iRevision,
char* iDirectory_PATH)
Extracts a document from ENOVIA V5 vault with its linked documents to a file directory.
Role:This method enables extract a document with its linked documents from ENOVIA V5 vault to a file directory.

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
iDirectory_PATH
path of the directory where the documents must be copied.
Returns:
  • S_OK: Documents successfully extracted to directory
  • E_FAIL: The method has failed. Possible reasons of error are:
    • No document found for iV_ID and iRevision
    • iDirectory_PATH doen't exist
    • iDirectory_PATH hasn't the access write
    • Unsufficient memory to extract all documents
    • 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.