Hi guys,
New houdini user here trying to grok attributes but I am stuck on a very simple setup which looks like this:
1) First node is a tube.
2) Second node is a point wrangle where I create an attribute “x” like this: “@x =
relbbox(0,@P).y;”
3) Third node is a edit node where I am trying scale some points and modulating the effect of the scale by using the “x” attribute like this “$IV*@x”.
Conceptually I want to do “scale = scale * value_of_attribute_x”.
But “$IV*@x” always evaluates to zero. It seems that any custom attribute that I used inside the parameter expression of scale parameter evaluates to 0. Why is that?
Also I am getting a warning that “Scale cannot be animated or time dependent”.
The docs say that you can use “@attributename” as syntax to access attributes in hscript when using parameter expressions so I am wondering what I am doing wrong here.
I've attached the example file.