Currently on a project that my client needs the reference file path to
remain in linux format. For example

A.ma , referencing objects from --> //linux/project/scene/B.ma
B.ma , referencing objects from --> //linux/project/scene/C.ma

Most of our Maya license here however are on Windows. I can run a
Python script that convert all the paths  windows paths and save the
file. For example

Z:\project\scene\B.ma

However I'm trying to figure out a way to do this without converting
or altering the original file.... I'll try to explain my idea.

- Run the script to open the file.
- The script checks for the linux formatted reference path, and all
child path down the hierarchy.
- Maps the path to an appropriate windows formatted paths *without*
altering the original files.
- So when the animators "save" the file, the paths are still in their
original linux formatted path.

Is this possible to achieve this with Python script? Or will I need a
fully-compiled plug in to get this to work?

Greatly appreciate any suggestions.

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to