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:

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]

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.

All good, thank you Nikola!

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

Cheers!

You legends!