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:
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]
Comment