Can Openstudio.exe be set to launch minimised?

Hi Community,

Has anyone had any success in getting OpenStudio and EnergyPlus exe’s (as called from HB components in GH - in this instance ‘ModelToOSM’ 1.2.0) to launch minimized??
The general approach for exe’s in windows, is to set params on a shortcut to the exe.
Is there a param/toggle in the recipes that can be passed in?

It looks like the process calls cmd.exe first ; then executes the Openstudio or E+ string.
One can get cmd.exe to launch minimised via a windows shortcut.
Perhaps grasshopper could leverage that somehow?

Running colibri driven iterations on models causes OpenStudio/E+ to launch maximised each time and steal active window focus. Very disruptive!

Thanks!

Hey @SWalters ,

Just plug a 3 into the run_ input of the ModelToOSM component to have the simulation run silently in the background. You’ll see that this is documented in the description of that component input:

All of the recipe components support similar functionality but you should plug in a 2 instead of a 3.