Dynamic character substitution.
John Bausano
jbausano at vt.edu
Mon Sep 26 21:09:51 EDT 2005
Hello all,
I've been using Ansys which is a commercial FEA package which can be
controlled through its own scripting language they call APDL. Now I'm
trying to write some stand alone code in Python to supplement my current
efforts.
In Ansys I can do something like this.
*do,n,1,3 #loop
through n
*dim,data%n%,1000,2 #creates variables
arrays data1(1000,2), data2(1000,2)..
*vread,data%n%,filename%n% #fills arrays with data
from filename1,.
Thanks
john
More information about the Python-list
mailing list