pelos Posted January 3, 2019 Share Posted January 3, 2019 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 =) near_points_add_upload.hip Quote Link to comment Share on other sites More sharing options...
Bandu Posted January 3, 2019 Share Posted January 3, 2019 change near_root_attribute = i.attribValue("near_root") to near_root_attribute = i.intListAttribValue("near_root") cheers! Quote Link to comment Share on other sites More sharing options...
pelos Posted January 4, 2019 Author Share Posted January 4, 2019 aja! magic! thanks Bandu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.