Hypermesh Scripting General Questions for Beginner
Hello forums,
I have a set of questions for Hypermesh scripting. I am new to scripting. I wrote a basic code but I keep having these pop ups that force me to click through them. Is there any way to bypass these always in the script by always saying yes?
My second question is whenever I try to overwrite the files and save a version, I get an error. How do I bypass this error?
Answers
-
Adding
hm_answernext yes
before the commands that give the popups will do the trick.
https://help.altair.com/hwdesktop/hwd/topics/reference/hm/hm_answernext.htm
The error is a little more tricky and might need further investigation. If you write the files from the GUI it works? If you write the files in the tcl console does it work? If not, are there any different messages? They files aren't open somewhere else or in a folder that needs admin priviledges?
0