PSNInteroperability Global Function CATLoadFromVPM
CATLoadFromVPM(
const
iRootPDMID,
const
iCLinkList,
const
iDocPDMIDList,
iOpenAsNew)
Loads VPM objects into a new or existing product structure.
Parameters:
iRootPDMID
the PDMID of the root VPM part
iCLinkList
a list of Clinks representing the child VPM parts (each Clink represents the list of links leading from
the root to the child part)
iDocPDMIDList
a list of PDMIDs representing the corresponding documents of the child VPM parts. A PDMID
can be null (“”) if no document must be loaded.
iOpenAsNew
indicates whether the VPM objects should be loaded into a new structure or an existing one.
In the later case, a product structure with the same root must be already loaded.
Returns:
S_OK: objects successfully loaded
E_FAIL: input are erroneous
Note:
PDMIDs of root or documents are expressed as 66 character strings (COID, COMPID, TABLE, ENV, DB)
elements of iCLinkList are hexadecimal representations of Clink whose length is multiple of 16
iCLinkList and iDocPDMIDList must have the same length
elements of iDocPDMIDList can be null (“”) if no document must be loaded
This object is included in the file: CATBatchServices.h