What are the Ansys EnSightâ„¢ simulation data visualization software Python commands to retrieve timestep numbers and time values?
To get the number and value of the timesteps, use:
ensight.objs.core.TIMEVALUES
This is a list of lists, where ensight.objs.core.TIMEVALUES[i][0] is the timestep, and ensight.objs.core.TIMEVALUES[i][1] is the corresponding time value.
To get the timestep range, use:
ensight.objs.core.TIMESTEP_LIMITS
This will return a list, where ensight.objs.core.TIMESTEP_LIMITS[1] is the last timestep
For other python commands to retrieve time information, in the Python command window, issue the command: dir(ensight.objs.core), to see other available commands.