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?