🎉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

TCL script files parameters

User: "inasiopo"
New Altair Community Member
Updated by inasiopo

Dear all,

 

We are trying to create a tcl script that is called from a batch file with:

 

C:\....\hmbatch.exe -tcl C:\...\MyTcl.tcl

 

That works fine.

 

Our TCL then looks like:

 

variable myLocation [file normalize [info script]]
append filename1 $myLocation 'Tester02.fem'
append filename2 $myLocation 'Tester02.sh'


*createstringarray 2 'isosurf: 3 3 0.6 0 -1 0 0 10 30 1 0' 'other_params: 1 0 0 0 10 0'
*ossmooth_12 0 1 0 1 '$filename1' '$filename2' '*.grid' 1 0 1 2

 

 

but this is not working. Apparently when trying to run the *ossmooth' command the '$filename1' and '$filename2' variables are not recognised.

 

Any help on how we can do that please??

 

 

Find more posts tagged with