Jump to content
Sign in to follow this  

array attribute not showing in python node

Recommended Posts

Creating an array attribute (just putting nearpoints from vex into an attribute)    [0,1,2,3,4,5......]  but I want to be able to retrieve that,  so in python using when I use geo.points[0].attribValue("near_points") just return 0, 

I was expecting the actual array that I can see on geometry spreadsheet, is there a different function to get the array? or there is some secret magic somewhere?    here is the hip file, 


thanks guys =)


Share this post

Link to post
Share on other sites

 near_root_attribute = i.attribValue("near_root")
 near_root_attribute = i.intListAttribValue("near_root")



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this