Announcement

Collapse
No announcement yet.

Highlight which grid is simming in viewport and include name of grid in "phoenix fd simulation running" viewport overlay!

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

  • Highlight which grid is simming in viewport and include name of grid in "phoenix fd simulation running" viewport overlay!

    Hi folks!

    I've been running out a few different iterations of sims from the same scene so I wrote a little script to link a bunch of selected grids. One thing that'd be handy though is a better indication of which of the grids is currently being simmed, would it be possible to highlight it in the vp and also name it in the viewport overlay message?

    Here's some terrible code in case anyone's doing similar:


    Code:
    thePhxGrids = selection as array
    
    for i = 1 to (thephxGrids.count-1) do
    (
        thephxGrids[i].simoutput = "$(scene_path)"
        thephxGrids[i].script = "fn OnSimulationBegin=()\n\n fn OnSimulationStep=()\n\nfn OnSimulationEnd=(\nA_StartSim $" + thephxGrids[i+1].name + "\n)\n\nfn OnNewFrame=()"
        thephxGrids[i].use_Script = on
    )
    
    a_startSim thePhxGrids[1]

  • #2
    Hi!
    Indicating which is the currently running simulator is already on our to do list. It is not a big change, but I can't say when we are going to get to it.
    Nikola Bozhinov, Phoenix FD developer

    Comment


    • #3
      All good, thank you Nikola!

      Comment


      • #4
        Hey, just a small update - the name of the simulator will be added to the viewport status in tomorrow's nigthlies.

        Cheers!
        Svetlin Nikolov, Ex Phoenix team lead

        Comment


        • #5
          You legends!

          Comment

          Working...
          X