PDA

View Full Version : Asset Tracking - remap path


eraderma
09-18-2009, 04:04 PM
Hi all - I'm new to max script...any help would be greatly appreciated.

I want to write a script to easily remap files from one server to the other. The server paths are set up identical, with the exception of the server name.

Using the max script help in 3D studio I found this...

ATSOps.RetargetCommonRootOfSelection "\\Sanclfs103\graphicslib"

problem with this is I only want to change the server name and first folder and keep the rest of the path.

I was thinking maybe this script would be a better direction...

ATSOps.RetargetAssets <&maxObject>Asset Owner <filename>OldPath <filename>NewPath

but I can't quite figure out what the max object should be?

the attached screen print might help illustrate better.
red circle is my current path.
blue circle is the new path to other server I want to change.
I want to keep all the other part of the path after the server name and first folder.
Green circle is what my first script is changing it too.

thanks all.

Eric

CGTalk Moderation
09-18-2009, 04:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.