How to run a script for HyperView/HyperGraph from a command line
Overview
We regularly get the question about running HyperView with command line. In this example I authored a script which loads a flexible report in HyperView, animate all pages once (this API requires 2022.3), then export all curves in XY format.
The video below show some details about this script:
https://www.youtube.com/watch?v=DTc9zuWPIa0
Usage/Installation Instructions
To execute in in interactive mode from the new interface, you can use the command below:
"D:\Program Files\Altair\2022.3\hwdesktop\hwx\bin\win64\runhwx.exe" -client HyperWorksDesktop -plugin HyperworksPost -profile HyperworksPost -l en -sf plugins/hwd/resources/splashHyperWorks.png -clientconfig hwpost.dat -b -tcl path\automate_report_v3.0.tcl path/numeric_stability_optimized_v1.2.tpl path/FIRST_RUN.h3d path/FIRST_RUNT01 500000
To execute from HyperView old interface in batch mode, you can use the command below:
"D:\Program Files\Altair\2022.3\hwdesktop\hw\bin\win64\hw.exe" -tcl path\automate_report_v3.0.tcl path/numeric_stability_optimized_v1.2.tpl path/FIRST_RUN.h3d path/FIRST_RUNT01 500000