Announcement

Collapse
No announcement yet.

Automatically start Sim 2 and 3 when using cascading sims

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

  • Automatically start Sim 2 and 3 when using cascading sims

    Hi there,
    I have a water flow that carries across three different grids. Is there a way that they can start automatically when one sim finishes. I am going to be away from my PC for the day and I know sim 1 will finish in a few hours, be nice to come home and see all three done.

    I have seen some reference to max script and the like but you may as well just blindfold me and then tell me to type that out?!

    Thanks

  • #2
    Hey,

    You can select the first Simulator and go to the Simulation rollout and enable the Use Script option. Then, press the Edit button located next to the Use Script option - this will open the Max Script Editor window.

    You are looking for this lines:

    "-- ... or uncomment the lines below to start another simulator when this one is finished.
    -- Don't forget to substitute the name of your second simulator:

    /* -> remove those symbols to uncomment the lines.

    sim = getnodebyname "PhoenixFD002" -> make sure the name is the same as the name of the second Simulator.
    select sim
    A_StartSim sim--*/"


    Do the same steps for the second Simulator and add the name of the third one in order to start it after the second one is finished.


    Hope this helps!
    Last edited by slavina.nikolova; 10-05-2021, 06:09 AM.
    Slavina Nikolova
    Phoenix QA Specialist
    Chaos

    Comment


    • #3
      That worked a treat, thank you.

      Comment

      Working...
      X