Script
A CMD utility to externally re-path 3ds Max files
By loocas · 2013-03-04
- Version
- 0.2beta
- Version requirement
- 3ds Max 2009+
- Date updated
- 2013-03-04
Description
This is a simple tool I wrote in IronPython and compiled to a usable .exe program for re-pathing or examining 3ds Max (.max and .mat) files without actually running 3ds Max.
It's pretty useful for batch re-pathing before rendering on render farms, for example. Or just to view what type of files are being linked in your .max and .mat scene files and material libraries, respectively.
Additional Info
Usage is simple, just call the repathMaxAssets.exe and supply your .max or .mat file. Without any parameters, it'll list all the assets (textures, caches, render output...) within that file.
When you provide the -p parameter followed by a path, the program will repath all the assets to that location of your choice and overwrite the file.
WARNING: there is no way, unfortunately, to distinquish what is an actual input file and what is the render output (for example), so every asset will get repathed to the exact same location!
Example: repathMaxAssets.exe C:\MySceneFile.max -p \\myServer\myProjectsFolder
The utility will list the repathed assets' paths afterwards for confirmation.
Tags: utility, asset, Path, manage, line, assets, external, repathing, repath, paths, cmd, command