set_detail_attrib
Set a detail attribute on a Houdini node by creating and configuring an Attribute Create SOP in a single undo step, with cleanup on failure.
Instructions
创建 Attribute Create SOP,class=detail (add-geometry-export-and-measure,MUTATING)。
- 创建 + 连接 + 配置是单 undo group 的连续步骤;失败 destroy
半成品。
- **不**调用 cooked ``node.geometry()`` 的写方法。
- ``attrib_type`` 接受 ``float / int / string / vector``。
- 响应过 server 端 ``apply_response_cap``。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ctx": "<ctx>",
"node_path": "<node_path>",
"name": "<name>",
"value": "<value>"
},
"name": "set_detail_attrib"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| name | Yes | ||
| value | Yes | ||
| node_name | No | ||
| node_path | Yes | ||
| attrib_type | No | float |