🎉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

hypermesh tcl question for determine hypermesh file save?

User: "shiucomp5"
Altair Community Member
Updated by shiucomp5

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