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``。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| name | Yes | ||
| value | Yes | ||
| node_name | No | ||
| node_path | Yes | ||
| attrib_type | No | float |