I am writing a script in JavaScript where I am changing the foil parameters to compute the resulting forces and moments on foils. I would like to have a command equivalent to the \”post solution\” button to automatically post the resulting forces and moments in the result window. What is the corresponding command? (I want to avoid running an optimisation)
anonuser Asked question 12 March 2024
Host.postSolution() is equivalent to the button “Post Solution”. However, make sure to enable the “Keep table refreshed” button.
The command to enable/disable it is: Host.enableResultsRefresh() / Host.disableResultsRefresh()
The full list of Host commands is visible by typing query(Host) in the commands window.
Support SumToZero Changed status to publish 12 March 2024