create_spare_parameter
Create a single spare parameter on a Houdini node, choosing its data type (float, int, string, toggle, or menu) and setting optional attributes like label, default, min/max, and menu items.
Instructions
单项 spare 参数创建(add-node-parameter-vex-tools,MUTATING)。
通过 ``parmTemplateGroup()`` 复制 + 一次性
``setParmTemplateGroup()`` 提交。``data_type`` 接受 ``float / int /
string / toggle / menu``。``folder`` 可选。响应过
``apply_response_cap``。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| name | Yes | ||
| path | Yes | ||
| label | No | ||
| folder | No | ||
| default | No | ||
| data_type | Yes | ||
| max_value | No | ||
| min_value | No | ||
| menu_items | No | ||
| menu_labels | No | ||
| num_components | No |