Houdini 20.0 hapi

hapi.getParmFile function

Extract a file specified by path on a parameter. This will copy

Usage

getParmFile(session: hapi.Session, node_id: int, parm_name: str, destination_directory: str, destination_file_name: str) → bool

Extract a file specified by path on a parameter. This will copy the file to the destination directory from wherever it might be, inlcuding inside the asset definition or online.

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.

parm_name

The name of the parameter.

destination_directory

The destination directory to copy the file to.

destination_file_name

The destination file name.

hapi