When we export an entire folder in the thick client, we have the option to repath references. It's never been clear why this wasn't an option on single documents..
Can we have the option to repath these during export using PoSH?
Might be a tall order.. but who doesn't like a challenge from time to time?
When you export a single file, all of the references are placed into the same directory, thus not needing a path. Pathing the references would be the same as removing the paths. When you export a folder structure, you have to path the references for the application to find them. There have also been requests for the option to not export any references. So, are you asking for an option to remove the reference pathing in the main file exported? it would have to be supported in the API before it would be supported in a PowerShell method.
Not remove the path - simply repath to a separate folder.
This is specifically for a handover operation.
The general requirement is;
1) Read list of files.
2) Find file in PW
3) Export file to drawings directory, all references to references directory
.. see the problem?
When I crack open my dgn's, they are all path'd with the nice PW_WORKDIR variable..
I'm really after two things,
1. "update documents to use local paths" option..
2. Ability to export references to a separate folder.
I have the second option covered, though in a very round about way