We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General

General

What are the EnSight Python commands to retrieve timestep numbers and time values?

    • FAQFAQ
      Participant

      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.