Houdini Update Curve Coordinates SOP v1.0 HDA
Have you ever drawn a Curve SOP curve and then realized the place you drew it wasn't quite right and now you can only move individual points, and its 'Coordinates' parameter is not easy to edit, and you don't want to resort to the Transform node (out of a total obsession with neat node-graphs)? Here's your solution. It must be the most useless, useful invention.
A simple VEX script and a Python function do the trick and are available here if you prefer: https://github.com/arabadzhiyski/update_curve_coordinates
Parameters
The HDA allows you to transform a Curve SOP curve and update its 'coords' parameter. The original curve, if stashed, is available on Output 1. Once you hit the 'Update Curve Coordinates' button, the HDA will update the 'Coordinates' string field of the input Curve SOP (and you can delete the HDA after).
It requires a Curve SOP as input! Currently onInputChanged
will not warn if another node type is wired as input so that functionality is WIP.
Cheers!
You get a .hda file and I get to feel good knowing that's useful for someone.