All Frameworks  Class Hierarchy  This Framework  Indexes

CATPDMBase Global Function LoadFromPDM


HRESULT LoadFromPDM(CATLISTV(CATIPLMIdentificator_var)& iListOfObjUuids,
CATLISTP(CATDocument)*& opListOfDocs)
Interface to load in CATIA the product structure elements giving their uuid’s specified through a list of CATIPLMIdentificator
Role: Load in CATIA (but does not open in editor) a list of product structure elements extracted from the ENOVIA database. Supported types are: PRC, Item-Instance, Part-Version, Document-Revision. Supported files which may be attached to DR, are CATPart, CATProduct, CATDrawing, CATAnalysis, CATMaterial, cgr, catalog and V4 model.

Parameters:
iListOfObjUuids
(input) The list of object identifiers to be loaded in CATIA
oListOfDocs
(output) The list of documents loaded in CATIA session
Returns:
  • S_OK: All the ENOVIA V5 entities have been successfully loaded.
  • E_FAIL: Function has failed. At least one EV5 entity has not been loaded. Possible errors may be:
    • Connection to EV5 server was not established,
    • At least one ENOVIA V5 entity owns an unsupported type
    • A service is not supported on the current Server,
    • Some P&O priveleges are missing for the current user,
    • An abnormal error has been encountered.
  • E_INVALIDARG: The input parameter [iListOfObjUuids] is empty.

This object is included in the file: CATPDMInteropServices.h

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