Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding\copying to the PDMWorks vault from outside the vault using API

Status
Not open for further replies.

srjwt

Mechanical
May 6, 2008
1
First off I've just started dabbling in SWX & PDM API, so please excuse my ignorance. I need to change an existing macro that currently creates a file on a network path(a simple text file that we use for manufacturing). I now need it to add this same file to our PDMWorks vault. I can get it to add the file, but it shows up as a local file. I need it to add it to the vault. I tried using IEdmFolder5::CopyFile but that needs a folder ID for the source folder, but my source isn't in PDM. I also tried IEdmFolder5::AddFile but the example in the API help only adds it to the root folder of the vault. I'm not sure what direction to go here. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor