Houdini 20.5 hapi

hapi.renameNode function

Rename a node that you created. Only nodes with their

Usage

renameNode(session: hapi.Session, node_id: int, new_name: str) → bool

Rename a node that you created. Only nodes with their hapi.NodeInfo.createdPostAssetLoad set to True can be renamed this way.

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 node to rename.

new_name

The new node name.

hapi