|
code to perform a copy from pdmwe
i can not find code in the pdmwe api to copy a file from the vault to a destination folder outside the vault. the iedmfolder5::copyfile method demonstrates how to copy from inside the vault to another folder inside the vault only. i can pull parameters of the file i need to copy in my code, now i just need to know how to use the parameters to
perform the actual copy to outside the vault. . . . so very close. . .
lucas h. dexter
engineering it systems admin cad/pdm/fea
spartan motors inc.
hi lucas
in the pdmw api help have a look to pdmwdocument.save method.
in short create a connection to connect to the vault, then use getspecificdocument then save
hope this help
################################
stef
designer / cad administrator
sw 2007 sp5 winxp pro sp2
i know this thread is a year old, but i am trying to do this exact same thing... use the pdmwe 2008 api to copy a file from the vault to a folder outside the vault. i can make a connection to pdm, login to the vault, and get the id's of the file and it's parent folder.. but i can't figure out how to make the actual copy procedure... does anyone have any ideas on how to do this? |
|