[Sidefx-houdini-list] [HOM] Setting a float attribute value on a point

Andras Ikladi andras.ikladi at gmail.com
Tue Jan 29 13:32:19 EST 2008


I'm having a problem with $SUBJECT
..at least I can't get my head around this. Should be simple.

First I create two attributes on the geo, both of them initializes properly
with these values:

...addAttrib(hou.attribType.Point, "v", (0.0, 1.0, 0.0))
...addAttrib(hou.attribType.Point, "f", 10.1)

Then trying to set values per point in a loop
This works (hou.Color works too):
...setAttribValue(v, hou.Vector3(1,2,3))

But this doesn't:

What am I doing wrong? (I did read the doc :D)


More information about the Sidefx-houdini-list mailing list