[Sidefx-houdini-list] More HOM woes ... hou.Point.setAttribValue

Rob Pieké rob-p at moving-picture.com
Mon Feb 4 11:27:50 EST 2008


Very simple Python SOP ... doesn't work. The last line causes an error.

geo = hou.pwd().geometry()
geo.addAttrib( hou.attribType.Point, 'myAttrib', ( 0.1, 0.2, 0.3 ) )
pt = geo.createPoint()
pt.setAttribValue( 'myAttrib', pt.attribValue( 'myAttrib' ) )

And I checked ... pt.attribValue( 'myAttrib' ) returns (0.1, 0.2, 0.3) 
as I would expect.

Any ideas? :)



More information about the Sidefx-houdini-list mailing list