Vray Volume Grid - Chaning multiple grids to a single preset

I have 20 volume grids all with the same preset but to change them all to a different one means I have to go through them all manually. Is there an easier way to do this ? I’m more than likely going to need more than 20 of these volume grids so would be good if there was.

Hey,

You can easily do this with a script. The following MaxScript will load a render preset for all selected nodes.

for i in $ do
    i.loadRenderPreset “presetPath”

Cheers,

You star !! Thanks !

I tried this:

for i in $ do
i.loadRenderPreset “\\STEVES3DMACHINE\assets\other\Open_VDB_clouds\clouds_phoenix_VDB_preset_.tpr”

But it just said OK without applying the preset.

Did you select your volume grid nodes before that? It will work only if you have the volume grids in the selection.

Yep. They were all selected.

It seemed to be because I was using a network path. Using local drive path worked fine. Thanks :slight_smile:

You have a space in the name of the preset - is this how it should be?

Glad it’s all working now :slight_smile:

Cheers,