- Thu Mar 01, 2007 11:13 pm
#212982
this is cool.
problem:
we surely all know the problem, when we want to open a pc generated maya file on a mac, that the textures can not be found because the drive names are not equal on macs/pcs.
or You have a network drive renamed from U:/ to V:/ and would have to manually update every linked texture path to V:/../tex.pic
• T:/
• //macname/user/
and so on.
now i created a script that automates this and it works on a mac since the mac does not care for / or \ and reads them as the same. but i still have one problem with the pc.
the \ sign which often is used in network drive names is used in maya as an escape sequence like for example "\n" to go to a new line.
this happens in the scipt (in the last few lines) which gives an error. and i do not remember how this escape sequence could be broken so this script also works on pcs...
help from anyone ?
* * *
http://www.jumpgates.com/matthias/MEL/P ... V1.mel.zip
problem:
we surely all know the problem, when we want to open a pc generated maya file on a mac, that the textures can not be found because the drive names are not equal on macs/pcs.
or You have a network drive renamed from U:/ to V:/ and would have to manually update every linked texture path to V:/../tex.pic
• T:/
• //macname/user/
and so on.
now i created a script that automates this and it works on a mac since the mac does not care for / or \ and reads them as the same. but i still have one problem with the pc.
the \ sign which often is used in network drive names is used in maya as an escape sequence like for example "\n" to go to a new line.
this happens in the scipt (in the last few lines) which gives an error. and i do not remember how this escape sequence could be broken so this script also works on pcs...
help from anyone ?
* * *
http://www.jumpgates.com/matthias/MEL/P ... V1.mel.zip