Houdini 20.0 hapi

hapi.setObjectTransform function

Set the transform of an individual object. Note that the object

Usage

setObjectTransform(session: hapi.Session, node_id: int, trans: hapi.TransformEuler) → bool

Set the transform of an individual object. Note that the object nodes have to either be editable or have their transform parameters exposed at the asset level. This won’t work otherwise.

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 object node id.

trans

A hapi.TransformEuler that stores the transform.

hapi