Houdini 20.0 hapi

hapi.saveHIPFile function

Saves a .hip file of the current Houdini scene.

Usage

saveHIPFile(session: hapi.Session, file_path: str, lock_nodes: bool) → bool

Saves a .hip file of the current Houdini scene.

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.

file_path

Absolute path to the .hip file to save to.

lock_nodes

Specify whether to lock all SOP nodes before saving the scene file. This way, when you load the scene file you can see exactly the state of each SOP at the time it was saved instead of relying on the re-cook to accurately reproduce the state. It does, however, take a lot more space and time locking all nodes like this.

hapi