houdini python create array attribute (not get) and store it on points

   78   1   1
User Avatar
Member
5 posts
Joined: Dec. 2018
Offline
so I was trying to do this:

x= geo.addAttrib(hou.attribType.Point,'x',)
———————————————————-
pt.setAttribValue(x,xList)

but it doesn't work does anyone know how to solve this

I know we can use vex but I need do it in python and the document is …mess
User Avatar
Member
379 posts
Joined: Feb. 2016
Offline
hello,
have u tried with function
addArrayAttrib(type, name, data_type, tuple_size=1) ?
  • Quick Links