On 27/05/2013 at 13:27, xxxxxxxx wrote:
I have a script that copies all of my texture files to a render farm. To do this, I am iterating through the BaseContainer object obtained from a call to BaseDocument.GetAllTextures(). This works perfectly to get all of the files and copy them down. However, I am racking my brain on trying to change the paths in the document so that the farm can see the moved textures. This is necessary because my artists almost never move the texture files into their project search path on import, and they are working off of a filesystem that cannot be mapped to the farm.
I have tried modifying the entries in the BaseContainer object using BaseContainer.SetFilename(), but this makes no changes to the document, only to the BC object in RAM. How do I update these paths with the new texture locations on the farm?