| Description |
| Copies a file, either primary or secondary, from a Windchill workspace to a disk location. |
| Synopsis |
| #include <ProUtil.h> |
| ProError | ProFileCopyFromWSDocument | ( |
| ProPath source_file | |
| /*
(In) |
| The path to the file, provided by functions such as ProFileMdlnameOpen() and ProFileMdlfiletypeOpen(). This must begin with wtws://. |
| */ |
| ProPath document_name | |
| /*
(In) |
| If present, the name of the document, with source_file being the name of the secondary content on the document. If NULL, read the primary content of source_file. |
| */ |
| ProPath target_directory | |
| /*
(In) |
| The location on the local disk indicating where to copy the file. |
| */ |
| ) |
| Returns |
|
|