🎉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

Error Running in Batch Mode

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

I am attempting to automate some of the processes that I do in Hypermesh by using some TCL scripts. Currently I have created a working TCL script that works when I run it from the Hypermesh interface. When I attempt to run this script from the windows command window I get an error and the script stops running. I have attached the script, and the igs file where the geometry is imported from. I have also included the error that I receive below. Note if you would like to run the script you will need to modify lines 2,8, and the last 4 so that the file path reflects that of your computer.

 

Error:  Data-name is not valid
0
    while executing
'*setvalue loadsteps id=1 STATUS=2 OS_SPCID={loadcols 1}'
    (file 'auto1.tcl' line 117)
    invoked from within
'source auto1.tcl'
End of command file - terminating.
HM exiting with code 1

 

Thanks in advance for your help.

-Alec

Unable to find an attachment - read this blog

Find more posts tagged with