Model.hm_getcurrenttime#
- Model.hm_getcurrenttime()#
Returns the current transient animation time.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:currentTime (double)
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)