So I have been digging around in the help docs and through old posts on the forums and I have found some things about using hou.Points and hou.expandString.
Now I have been working on trying to get this expression to go through using Python.
Hscript version:
rand($PT*1400)*0.5 +0.5
My python version:
rand(hou.Points*1400)*0.5+0.5
I changed the expression language to python, but when I try to evaluate the expression I get the error:
Error: Unable to evaluate expression (So I get that “rand” is not evaluating correctly. Overall i'm just hoping someone can push me in the right direction on this.
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
NameError: name ‘rand’ is not defined
(/obj/curve_object1/copy1/val2)).
Thank you.