bchasse
Petroleum
- Oct 16, 2008
- 5
Hello members,
I am new here, and a beginner in scripting.
I am looking for a way to obtain the following informations on current step:
Time at each frame
Number of frame
Because i try to do a loop on a number of step, and i want to write in a result file, many results for each frame.
Step_min=5
Step_max=8
Filename='14in22.odb'
odb=openOdb(Filename)
for i in range(Step_min,Step_max+1):
Current_step='Step-%.0f' % (i)
frame_max=???
for j in range(1,frame_max+1):
I am new here, and a beginner in scripting.
I am looking for a way to obtain the following informations on current step:
Time at each frame
Number of frame
Because i try to do a loop on a number of step, and i want to write in a result file, many results for each frame.
Step_min=5
Step_max=8
Filename='14in22.odb'
odb=openOdb(Filename)
for i in range(Step_min,Step_max+1):
Current_step='Step-%.0f' % (i)
frame_max=???
for j in range(1,frame_max+1):