create_material_network
Create a material network (matnet) under a specified parent, validating that the parent exists, is unlocked, and supports SOP nodes. Provides structured error handling for invalid parents.
Instructions
在 parent 下创建 matnet(add-scene-context-selection-materials,MUTATING)。
验证 parent 存在、未锁定、childTypeCategory 为 Sop 后调
``createNode("matnet", name)``;错误结构化区分
``parent_not_found / parent_locked / unsupported_parent_
category / node_type_unavailable``。此 tool 归
``MUTATING_COMMANDS``,server handler 通过
``hou.undos.group`` 入 undo group。响应过 server 端
``apply_response_cap``。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| name | No | mat | |
| parent_path | Yes |