Model.hm_getcurrenttime#

Model.hm_getcurrenttime()#

Returns the current transient animation time.

Returns:

Example#

Get the current transient animation time#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getcurrenttime()

curr_time = result.currentTime

print("Current Transient Animation Time:", curr_time)