create_network_box
Create a network box under a specified parent node in Houdini's Network Editor, optionally grouping selected nodes into it. Missing nodes are skipped and box details are returned.
Instructions
在父节点下创建 network box(network editor 中的分组框)。
参数说明:
- parent_path: 父节点路径。
- name: 可选,box 名;缺省时由 Houdini 自动命名。
- node_paths: 可选,要包含到此 box 的节点路径列表;
不存在的节点静默跳过,不抛错。
返回 dict 包含 path / name / nodes_in_box 三项;
父节点不存在时函数会抛 ValueError。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| name | No | ||
| node_paths | No | ||
| parent_path | Yes |