Find more posts tagged with
Sort by:
1 - 4 of
41
Hi,
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
I just want the black window of Hypermesh batch mode to show what it is doing.