Houdini 20.0 hapi

hapi.loadGeoFromFile function

Loads a geometry file and put its contents onto a SOP

Usage

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

Loads a geometry file and put its contents onto a SOP node.

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 loaded

hapi