Announcement

Collapse
No announcement yet.

Vray Volume Grid - Chaning multiple grids to a single preset

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
    Regards

    Steve

    My Portfolio

  • #2
    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,
    Georgi Zhekov
    Phoenix Product Manager
    Chaos

    Comment


    • #3
      You star !! Thanks !
      Regards

      Steve

      My Portfolio

      Comment


      • #4
        I tried this:

        for i in $ do
        i.loadRenderPreset "\\STEVES3DMACHINE\assets\other\Open_VDB_clouds\cl ouds_phoenix_VDB_preset_.tpr"

        But it just said OK without applying the preset.
        Regards

        Steve

        My Portfolio

        Comment


        • #5
          Did you select your volume grid nodes before that? It will work only if you have the volume grids in the selection.
          Georgi Zhekov
          Phoenix Product Manager
          Chaos

          Comment


          • #6
            Yep. They were all selected.
            Regards

            Steve

            My Portfolio

            Comment


            • #7
              It seemed to be because I was using a network path. Using local drive path worked fine. Thanks
              Regards

              Steve

              My Portfolio

              Comment


              • #8
                You have a space in the name of the preset - is this how it should be?
                Georgi Zhekov
                Phoenix Product Manager
                Chaos

                Comment


                • #9
                  Glad it's all working now

                  Cheers,
                  Georgi Zhekov
                  Phoenix Product Manager
                  Chaos

                  Comment

                  Working...
                  X