how to run a script in batchmode (hypermesh ,hyperview)

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

how to run a script in batchmode (hypermesh ,hyperview) in windows system

Answers

  • Merula_20758
    Merula_20758 Altair Community Member
    edited February 2016

    start this .exe

    /13.0/hm/bin/win64/hmbatch.exe

    with this parameter

    -tcl 'link to tcl file' (for your script)

     

    In hyperview it is

     <altair_home>/hw/bin/<platform>/hw.exe -clientconfig hwpost.dat -b -tcl example.tcl

    -b for batch

    -tcl for your script

     

    best reagrds

    Merula

  • Madhura
    Madhura Altair Community Member
    edited June 2018

    Hello Merula,

     

    How do I run Hypercrash in batch mode in Windows?

     

    Thanks in advance for your help!

  • tinh
    tinh Altair Community Member
    edited June 2018

    Maybe there is no such option for hypercrash. 

    Anyway, why you need to start hc in batch mode?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2020

    How to run the calculation (hw) in batch mode?

  • Vlad VB
    Vlad VB Altair Community Member
    edited May 2020

    Hello, 

        I have a strip that I'm trying to run in Batch mode. Script has a pop-up window with couple User inputs. When I run it with hmbatch.exe Window doesn't come up. When I run it with hw.exe Window does come up with User inputs but closes with in seconds. Am I missing something in a script? Thank you 

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited May 2020

    Hello, 

        I have a strip that I'm trying to run in Batch mode. Script has a pop-up window with couple User inputs. When I run it with hmbatch.exe Window doesn't come up. When I run it with hw.exe Window does come up with User inputs but closes with in seconds. Am I missing something in a script? Thank you 

     

     

    You're trying to run pop-up Windows (interactive mode) in Batch mode?

     

  • Vlad VB
    Vlad VB Altair Community Member
    edited May 2020

     

    You're trying to run pop-up Windows (interactive mode) in Batch mode?

     

    Correct, works with hw.exe but exits before any inputs can be added 

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited May 2020

    It's normal, because this's batch mode.