hda
Read, create, install, reload, and edit Houdini digital assets: inspect definitions and sections, load asset files, save subnet changes, and manage asset scripts or help.
Instructions
Read and change Houdini digital assets.
Use it when a node type comes from a .hda file: to find the file, to load a
new one, or to read the scripts and the help inside it.
Do not use it for the parameters of one node in the scene: node_inspect
does that.
mode:
"list" — the installed assets. `category` filters, for example
"Sop".
"get" — the definition of `node_type`: the file, the version
and the tools.
"install" — load the .hda file at `file_path` into the session.
"uninstall" — unload the .hda file at `file_path`.
"reload" — read the .hda file at `file_path` again, after an edit
on disk.
"update" — save the node at `node_path` back into its asset.
"create" — make an asset from the subnet at `node_path`, with
`name`, `label` and `file_path`.
"sections" — the section names inside `node_type`.
"section_get" — the text of `section_name`, for example "PythonModule".
"section_set" — write `content` into `section_name`.
Returns JSON. "install" and "uninstall" change every node of that type in
the session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | One of "list", "get", "install", "uninstall", "reload", "update", "create", "sections", "section_get", "section_set". | list |
| name | No | create: the type name of the new asset. | |
| label | No | create: the name that the TAB menu shows. | |
| content | No | section_set: the text to write into the section. | |
| category | No | list: keep one node category, for example "Sop". | |
| file_path | No | install, uninstall, reload: the .hda file. create: the file to write. | |
| node_path | No | update: the node to save into its asset. create: the subnet to make an asset from. | |
| node_type | No | get, sections, section_get, section_set: the asset type, as list names it, for example "labs::edge_damage::1.0", or with its category, "Sop/labs::edge_damage::1.0". | |
| section_name | No | section_get, section_set: the section, for example "PythonModule". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |