remove_color_ramp_element
Remove a color stop from a ColorRamp node in Blender by providing the material name, node name, and stop index. At least one stop must remain.
Instructions
Remove a colour stop from a ColorRamp node.
Blender requires at least one stop to remain; removing the last one fails.
Args: material_name: Name of the material. node_name: Name of the ColorRamp node. index: Zero-based index of the stop to remove.
Returns: Dict with the removed index and the remaining element count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| node_name | Yes | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||