🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Tcl's not running in batch mode

User: "Lucas Costa_22045"
New Altair Community Member
Updated by Lucas Costa_22045

Hello, all,

I have a Tcl script that is working very well on the HyperMesh interface (I've tried in the command window and as File>Run> Tcl/Tk script too), but when I run using batch mode, something happen that stops the looping job. Even the 'command.tcl' stops to write in a random built-in command.

As general, the .bat file has

 C:/altair/hm/bin/win64/hmbatch.exe -tcl '<tcl_directory' '<tpl_directory_called_in_tcl_script>'

What is happening?

Thanks in advance. 

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "RobHoglund"
    Altair Employee
    Accepted Answer
    Updated by RobHoglund

    Hi Lucas,

    Certain TCL commands for HyperMesh cannot run in batch mode (in particular display - based commands).  So if you have any of those in the script and try to run in batch, it would error out.

    If you can post the script more help can be given on this forum to find the issue.  Otherwise check through commands in the script to see if any require selection on screen in the HyperMesh GUI or changes to displayed entities or display state.

    Thanks,

    Rob