几何尺寸与公差论坛

 找回密码
 注册
查看: 781|回复: 0

【转帖】code to perform a copy from pdmwe

[复制链接]
发表于 2009-4-12 20:27:35 | 显示全部楼层 |阅读模式
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?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 06:40 , Processed in 0.034970 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表