morn66 Posted September 6, 2019 Share Posted September 6, 2019 Hey everyone, is there a vex function that can return an array of all the attributes name store on a point? For exemple, I want to transfer all the attributes to a new point, but the attributes can be different from each situation. Is there a way to store in a array the attributes name so after that I can loop over the array and setpointattrib. I know I can do something similar with the attribute transfer node, but I'll prefer something compatible with Compile Sop. Thanks guys! Quote Link to comment Share on other sites More sharing options...
ikoon Posted September 6, 2019 Share Posted September 6, 2019 Hi Julien, with addpoint() you can reference an existing point to get all its attributes and group memberships: https://www.sidefx.com/docs/houdini/vex/functions/addpoint.html Also, there is a detail intrinsic, which stores all the point attribute names: s[]@pointattributes = detailintrinsic(0,"pointattributes"); 2 Quote Link to comment Share on other sites More sharing options...
morn66 Posted September 6, 2019 Author Share Posted September 6, 2019 Omg! I never use addpoint that way!! Cool I'll play with that. Thanks! 1 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.