Announcement

Collapse
No announcement yet.

Is there a way to run all simulations at once / unattended?

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

  • Is there a way to run all simulations at once / unattended?

    I have a scene with 4 separate simulations - I want to trigger them all to calculate in one go so I don't have to keep coming back.

    Is this possible?

    thanks
    http://www.jd3d.co.uk - Vray Mentor

  • #2
    you can use the script callback functions, there is a function OnSimulationEnd , you can type in it
    a_startsim $simname
    to start the next simulation
    ______________________________________________
    VRScans developer

    Comment


    • #3
      Or if you're using Deadline for example you can send each sim to a separate render slave. We have a script for that.
      Georgi Zhekov
      Phoenix Product Manager
      Chaos

      Comment


      • #4
        Is there a palce where I can find scripts?

        I'm not sure how it would work - just on the maxscript listener set up a script an execute:

        a_startsim $simname1
        a_startsim $simname2
        a_startsim $simname3
        a_startsim $simname4

        like so?
        http://www.jd3d.co.uk - Vray Mentor

        Comment


        • #5
          If you are working on a single machine, this will do as well - you just have to separate these with a_wait() so that the next call will be executed after the previous simulation ends.

          On the other hand, if you have many machines available, Georgi will supply you with the deadline script for running several sims at once. We still haven't uploaded it as there is a new help/resources site in the making.

          For now you can consult the nightly help site for Phoenix's MXS functions: https://docs.chaosgroup.com/display/...n+to+MaxScript

          Cheers!
          Svetlin Nikolov, Ex Phoenix team lead

          Comment


          • #6
            Thanks very much.

            I have one Phoenix licence but several machines... (with Phoenix installed as a workstation licence)

            But sadly no Deadline!

            Would this script work locally?

            a_startsim $simname1
            a_wait()
            a_startsim $simname2
            a_wait()
            a_startsim $simname3
            a_wait()
            a_startsim $simname4

            Would love to see some options on the next PFD build that help out with all this stuff.
            http://www.jd3d.co.uk - Vray Mentor

            Comment


            • #7
              looks ok for me, make it in separate script file, and then evaluate it
              ______________________________________________
              VRScans developer

              Comment

              Working...
              X