hypermesh tcl question for determine hypermesh file save?
hi all,
i am new for hypermesh tcl beginer.
i want to determine the hypermesh save?
this is my code,should i use [hm_info currentfile] correct?
======================================
set currentFilePath [hm_info currentfile]
if {$currentFilePath ne ""} {
puts "The file has been saved."
} else {
tk_messageBox -title "Reminder" -message "Please remember to save the file!"
}
======================================
Find more posts tagged with
Sort by:
1 - 3 of
31
There are probably other ways to do it too but your code seems to work.