Houdini 20.5 hapi

hapi.saveNodeToFile function

Saves the node and all its contents to file.

Usage

saveNodeToFile(session: hapi.Session, node_id: int, file_name: str) → bool

Saves the node and all its contents to file. The saved file can be loaded by calling hapi.loadNodeFromFile.

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

file_name

The name of the file to be saved. The extension of the file determines its type.

hapi