Skip to main content

active_time_value

The currently active time value on the underlying reader, when it is time-aware (for example, PVDReader).

Proxies TimeReader.active_time_value. Returns None if the reader is not time-aware. Updates when you call set_active_time_point() or set_active_time_value().

Type
  • float | None

Example

from pyemsi import Plotter, examples

file_path = examples.transient_path()
p = Plotter(file_path)

print(p.active_time_value) # 0.01 (first time step by default)

p.set_active_time_point(-1)
print(p.active_time_value) # 0.1 (last time step)

See also