change texture paths

I have a pretty big scene with many materials and lots of textures within. On some there are three layers of composite etc.
All the textures are (should be) loaded with VrayHDRI, and I use tags to replace parts of the bitmap paths, typically to get the correct UDIM.

Now I want to move the whole project to a different network.
The 3dsmax asset manager cannot handle this, and I was too stupid to set the bitmap paths with eviroment variables tag when I started the project :P.

So how can I change all paths the easiest way?
I know maxScript, and I guess there is a way to list every single VrayHDRI in the scene?
One thing is for certain: I would rather not change all the bitmap paths by manually going into every single texture in every material to write a new one :P.

Okay, its not harder than this to get all paths:

a = #()
for i in (getClassInstances VrayHDRI ) do append a i
for i in a do print i.HDRIMapName

I use Relink Bitmaps script and its been working great for me for a few years. Relink Bitmaps - colinsenner LLC

-dave

Thanks for the tip :slight_smile:

I really just needed to change paths in bitmaps og vrayHDRI for now, so it was an easy fix with maxScript

excuse me but can you explain “set the bitmap paths with environment variables tag” ?
How does it work ?
Thanks

I know you said the asset manager cannot handle the task, but you can select multiple entries and use “retarget common root” command. I use this to move a project over to another pc quite often…

you could pack (resource collector) your file to another location and if I remember well repath everything

For relinking I use this: http://www.pixamoon.com/shop/4587562583
Its really fast because You dont have to open max files and there is a lot more stuff You can do than just relinking assets so I highly recommend it :slight_smile:

See “Tags and Environment Variables in Bitmap Names”

The asset manager doesn`t work when you use tags i VrayHDRI :slight_smile:

See “Tags and Environment Variables in Bitmap Names”