Jump to content

Recommended Posts

Hello, I am running a script in batch mode on Hypermesh 2019 and I would like to print everything the program is doing instead of "Ready" and then close. This is what I have but doesn't seem to print anything:


xxx\altair\v2019\hw\bin\win64\hw.exe -b -p mvw_file -tcl script.tcl

Share this post

Link to post
Share on other sites


sample like this:

package require Tk

set w [toplevel .output]

wm title $w "Output status:"

set t [text $w.t]

pack $t -fill both -expand yes

#output everything you need:

$t insert end "script is running at stage #???"



Another way, easier, you output status to a text file, as almost FE solvers do (nastran outputs to f06, optistruct outputs to .out , dyna outputs to d3hsp...):

set fpt [open output.txt a]

puts $fpt "script is running at stage #???"

close $fpt


use tail.exe to see the newest message

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...