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
time_values— list all available time valuesnumber_time_points— total count of available time stepsset_active_time_point()— activate a time step by indexset_active_time_value()— activate a time step by valuetime_point_value()— convert a time step index to its time value