Usage ¶
setUseHoudiniTime(session
: hapi.Session, enabled
: bool
) → bool
Sets whether the Houdini session should use the current time in Houdini when cooking and retrieving data. By default this is disabled and the Houdini session uses time 0 (i.e. frame 1). In SessionSync, it is enabled by default, but can be overridden. Note that this function will ALWAYS return hapi.result.Success.
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.
enabled
Set to True to use Houdini time.