Model.setanimationframe#

Model.setanimationframe(nFrame)#

Sets the animation frame.

Parameters:

nFrame (int) – The index of the animation frame.

Example#

Set the animation to frame 5#
import hm
import hm.entities as ent

model = hm.Model()

model.setanimationframe(nFrame=5)