run_shelf_tool
Execute a Houdini shelf tool that creates nodes, then report the newly generated nodes. Use for non-interactive tools that build networks without requiring viewport selection or dialogs.
Instructions
Run a shelf tool and report the nodes it created.
Tools that wait for a viewport selection or a dialog (the FLIP ocean layer, collide-with, most "select the object then..." tools) are refused up front: through the bridge they would block Houdini until someone clicks. Read the recipe with get_shelf_tool_script and build the nodes with build_network instead. Tools that only create nodes run fine.
Args: tool_name: Internal tool name, from list_shelf_tools. kwargs: Overrides merged into the synthetic kwargs the script reads. parent_path: An extra network to watch for new nodes. /obj, /stage, /out, /mat and /img are always watched, because a shelf tool is free to build in more than one of them: largeOcean creates both a geo in /obj and a LOP in /stage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kwargs | No | ||
| tool_name | Yes | ||
| parent_path | No |