Houdini 20.0 hapi

hapi.resetSimulation function

Resets the simulation cache of the asset. This is very useful

Usage

resetSimulation(session: hapi.Session, node_id: int) → bool

Resets the simulation cache of the asset. This is very useful for assets that use dynamics, to be called after some setup has changed for the asset - for example, asset inputs

session

The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.

node_id

The asset node id.

hapi