I have a small script to fetch contour data in HyperView using python APIs.
I would like to execute this script in batch mode.
Q1. In classic versions, we used to use "\<INSTALL_DIR>\hwdesktop\hw\bin\win64\hw.exe" -b -tcl
Similarly how to execute a python script in batch mode inside HyperView?
Q2. Since 2023 version does not have classic HyperView/HyperMesh anymore.
How to call HM or HV using batch commands? When I use the same command as above, I get the following error

This error does not occur when I open the GUI from the start menu.. But when I try to open it from batch window, I get this error.